Re: IPTables Port Forwarding

2007-03-07 Thread Giacomo Montagner
On 3/3/07, John L Fjellstad [EMAIL PROTECTED] wrote: Johnno [EMAIL PROTECTED] writes: Hello Need a little bit of help here... eth1 = Internet, eth0 = LAN, will this work? iptables -A PREROUTING -t nat -i eth1 -p tcp --dport 80 -j DNAT --to 192.168.1.50:80 iptables -A INPUT -p tcp -m

Re: IPTables Port Forwarding

2007-03-07 Thread Joe Hart
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Giacomo Montagner wrote: On 3/3/07, John L Fjellstad [EMAIL PROTECTED] wrote: Johnno [EMAIL PROTECTED] writes: Hello Need a little bit of help here... eth1 = Internet, eth0 = LAN, will this work? iptables -A PREROUTING -t nat -i eth1

Re: IPTables Port Forwarding

2007-03-07 Thread Giacomo Montagner
On Wed, 2007-03-07 at 16:24 +0100, Joe Hart wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Giacomo Montagner wrote: On 3/3/07, John L Fjellstad [EMAIL PROTECTED] wrote: Johnno [EMAIL PROTECTED] writes: Hello Need a little bit of help here... eth1 = Internet, eth0 = LAN,

Re: IPTables Port Forwarding

2007-03-02 Thread John L Fjellstad
Johnno [EMAIL PROTECTED] writes: Hello Need a little bit of help here... eth1 = Internet, eth0 = LAN, will this work? iptables -A PREROUTING -t nat -i eth1 -p tcp --dport 80 -j DNAT --to 192.168.1.50:80 iptables -A INPUT -p tcp -m state --state NEW --dport 80 -i eth1 -j ACCEPT Anything

IPTables Port Forwarding

2007-03-01 Thread Johnno
Hello Need a little bit of help here... eth1 = Internet, eth0 = LAN, will this work? iptables -A PREROUTING -t nat -i eth1 -p tcp --dport 80 -j DNAT --to 192.168.1.50:80 iptables -A INPUT -p tcp -m state --state NEW --dport 80 -i eth1 -j ACCEPT Anything on port 80 to goto a internal server

Re: need iptables port forwarding help!

2004-09-06 Thread Tom Vier
On Thu, Sep 02, 2004 at 05:45:31PM -0700, Mike Fedyk wrote: I suggest you use the shorewall package. It adds enough abstraction to be powerful without getting in your way, and has very good documentation. unforunetly, i can't even get masq to work right with it. 8( also, i can't get any of

Re: need iptables port forwarding help!

2004-09-06 Thread Wim De Smet
Hi, On Tue, 31 Aug 2004 23:46:25 -0400, Tom Vier [EMAIL PROTECTED] wrote: i've tried several times, using multiple different rules i've found from different sites, and i still can't get port forwarding working. does anyone have working rules they could send me? i'm trying to forward packets

Re: need iptables port forwarding help!

2004-09-06 Thread Mike Fedyk
Tom Vier wrote: On Thu, Sep 02, 2004 at 05:45:31PM -0700, Mike Fedyk wrote: I suggest you use the shorewall package. It adds enough abstraction to be powerful without getting in your way, and has very good documentation. unforunetly, i can't even get masq to work right with it. 8( also, i

Re: need iptables port forwarding help!

2004-09-06 Thread Mike Fedyk
Tom Vier wrote: On Mon, Sep 06, 2004 at 01:43:36PM -0700, Mike Fedyk wrote: Did you copy the apropriate files to /etc/shorewall? What changes did you make? did shorewall restart give any errors? no errors. here's a tarball of my config. i didn't add the stuff for dnat. thanks for the help.

Re: need iptables port forwarding help! (solved)

2004-09-06 Thread Tom Vier
ok, i solved it. 8) here's the script i'm using. thanks for everyone's help. -- Tom Vier [EMAIL PROTECTED] DSA Key ID 0x15741ECE script: #!/bin/bash INTFWIP=10.86.79.10 INTIF=eth0 EXTIF=eth1 EXTIP= fconfig $EXTIF | awk /$EXTIF/'{next}//{split($0,a,:);\ split(a[2],a, );print a[1];exit}'

Re: need iptables port forwarding help!

2004-09-04 Thread Clement
Tom Vier wrote: i've tried several times, using multiple different rules i've found from different sites, and i still can't get port forwarding working. does anyone have working rules they could send me? i'm trying to forward packets from my isp to port to an internal ip (i use nat) and

Re: need iptables port forwarding help!

2004-09-04 Thread Craig Jackson
On Sat, 04 Sep 2004 16:32:29 +1000 Clement [EMAIL PROTECTED] wrote: Tom Vier wrote: i've tried several times, using multiple different rules i've found from different sites, and i still can't get port forwarding working. does anyone have working rules they could send me? i'm trying to

Re: need iptables port forwarding help!

2004-09-02 Thread Mike Fedyk
Tom Vier wrote: i've tried several times, using multiple different rules i've found from different sites, and i still can't get port forwarding working. does anyone have working rules they could send me? i'm trying to forward packets from my isp to port to an internal ip (i use nat) and port

need iptables port forwarding help!

2004-08-31 Thread Tom Vier
i've tried several times, using multiple different rules i've found from different sites, and i still can't get port forwarding working. does anyone have working rules they could send me? i'm trying to forward packets from my isp to port to an internal ip (i use nat) and port 22. any help is

Re: need iptables port forwarding help!

2004-08-31 Thread John Summerfield
Tom Vier wrote: i've tried several times, using multiple different rules i've found from different sites, and i still can't get port forwarding working. does anyone have working rules they could send me? i'm trying to forward packets from my isp to port to an internal ip (i use nat) and port

iptables port forwarding problem.

2001-11-25 Thread Greg Fischer
I've spent an embarrasingly long period of time trying to get this to work. I'm trying to port forward port 6699 from 192.168.0.1 (my firewall machine) to 192.168.0.112:6699 in order to allow others to access my mp3s via napster. Here is the relivant line, anyone know what I'm doing wrong?

Re: iptables port forwarding problem.

2001-11-25 Thread Jeffrey W. Baker
On Sun, 2001-11-25 at 16:49, Greg Fischer wrote: I've spent an embarrasingly long period of time trying to get this to work. I'm trying to port forward port 6699 from 192.168.0.1 (my firewall machine) to 192.168.0.112:6699 in order to allow others to access my mp3s via napster. Here is the