Re: Iptables and Port Forwarding Issues.
From: Ken (ng3122_at_ke9nr.#nospam#.net.invalid)
Date: 09/28/05
- Next message: David Goodenough: "Re: Many wireless card doesn't support Linux?"
- Previous message: Mike Preston: "Re: Why IP address is fixed everytime connected to the Internet?"
- In reply to: spears.chris_at_gmail.com: "Iptables and Port Forwarding Issues."
- Next in thread: spears.chris_at_gmail.com: "Re: Iptables and Port Forwarding Issues."
- Reply: spears.chris_at_gmail.com: "Re: Iptables and Port Forwarding Issues."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 28 Sep 2005 13:59:19 -0700
Hi Chris -
On 28 Sep 2005 11:34:47 -0700, spears.chris@gmail.com wrote:
>iptables -t nat -A PREROUTING -p tcp -i eth0 -d 65.xx.xx.xx --dport 188
>-j DNAT --to 192.168.1.xxx:188
This should work when the request is actually coming from the
internet.
If the request is coming the 192.168.1.x network, I think it won't
work because of
-i eth0
Try it without
-i eth0
-- Ken http://www.ke9nr.net/
- Next message: David Goodenough: "Re: Many wireless card doesn't support Linux?"
- Previous message: Mike Preston: "Re: Why IP address is fixed everytime connected to the Internet?"
- In reply to: spears.chris_at_gmail.com: "Iptables and Port Forwarding Issues."
- Next in thread: spears.chris_at_gmail.com: "Re: Iptables and Port Forwarding Issues."
- Reply: spears.chris_at_gmail.com: "Re: Iptables and Port Forwarding Issues."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]