Re: Iptables and Port Forwarding Issues.
spears.chris_at_gmail.com
Date: 09/28/05
- Next message: Doug Holtz: "Re: Samba Login issue"
- Previous message: David Goodenough: "Re: Many wireless card doesn't support Linux?"
- In reply to: Ken: "Re: Iptables and Port Forwarding Issues."
- Next in thread: Ken: "Re: Iptables and Port Forwarding Issues."
- Reply: Ken: "Re: Iptables and Port Forwarding Issues."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 28 Sep 2005 14:49:19 -0700
> >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,
Not really sure why removing the -i eth0 worked but it did. I was
testing exclusively from outside the network all packets were comming
in over the external interface. Once I removed the -i eth0 it started
working.
Thanks,
Chris
- Next message: Doug Holtz: "Re: Samba Login issue"
- Previous message: David Goodenough: "Re: Many wireless card doesn't support Linux?"
- In reply to: Ken: "Re: Iptables and Port Forwarding Issues."
- Next in thread: Ken: "Re: Iptables and Port Forwarding Issues."
- Reply: Ken: "Re: Iptables and Port Forwarding Issues."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|