View previous topic :: View next topic |
Author |
Message |
neilhwatson l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/gallery/Futurama/cartoon_futurama_morbo.gif)
Joined: 06 Feb 2003 Posts: 719 Location: Canada
|
Posted: Wed Mar 19, 2003 3:54 pm Post subject: Expert Iptables help needed |
|
|
I wish to be able to access my IPS's usenet server from work.
Problem: my isp only access connections from local connections (my home).
Solution: Use iptables to snat and dnat my connection from work:
Point my usenet reader at work to my home ip, port 119
Have iptables accept that connection, change to source to its own ip and redirect the packet to my ISP's news server.
I have iptables set up and running and use snat for local machines on my home network.
Does anyone know how to do this? _________________ The true guru is a teacher.
Neil Watson |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
px Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/3ed46a2e3da6d6b21e307.jpg)
Joined: 26 Sep 2002 Posts: 497 Location: Metz, France
|
Posted: Wed Mar 19, 2003 4:22 pm Post subject: |
|
|
I have done something like this one time with shorewall (it's only a set of config file to configure iptables)
You just have to add a simple line in your rules.conf... _________________ Nous autres, mordus d'informatique, préférons par-dessus tout passer notre temps à bidouiller nos ordinateurs, plutôt que les utiliser pour faire quelque chose de productif. [Dave Barry] |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
batkiwi n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 01 Dec 2002 Posts: 12
|
Posted: Wed Mar 19, 2003 7:47 pm Post subject: |
|
|
I would ssh in, tunneling the news port, instead.
Even better, set up leafnode (easy with gentoo, it just works ootb), then ssh in and forward to your local news cache.
If you do what you're talking about, you're likely to get kicked off of your isp, b/c you'd be running what is basically an open news proxy.
ANYONE with your ip could post to your isp's news server. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|