Re: Iptables and Port Forwarding Issues.

spears.chris_at_gmail.com
Date: 09/28/05


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



Relevant Pages

  • Re: kern/131153: [iwi] iwi doesnt see a wireless network
    ... Subject: kern/131153: iwi doesn't see a wireless network ... EAPOL: SUPP_PAE entering state DISCONNECTED ... Selecting BSS from priority group 0 ... Setting scan request: 0 sec 0 usec ...
    (freebsd-net)
  • [SLE] network manager wont connect - 10.1
    ... Network manager has been excellent at connecting to ... NetworkManager - we are trying to connect to linksys-t on interface ath0 ... wpa_supplicant: Setting scan request: 0 sec 0 usec ... wpa_supplicant: WPA: clearing AP WPA IE ...
    (SuSE)
  • Re: HTTP 400 - Bad Request
    ... Windows Server 2003 comes with Network Monitor, ... none of those settings have ANYTHING to do with a 400 Bad Request. ... and IIS never bothered to execute it. ...
    (microsoft.public.inetserver.iis)
  • Re: Looking to share my Laptop Wireless over Laptop LAN port
    ... 192.168.0.x network for your local network and ICS takes care of ... internet connection (Network Address Translation, NAT). ... hunt down another group and post a request in there... ...
    (microsoft.public.windowsxp.network_web)
  • Re: Access denied to computer in xp home networked computers
    ... But cannot access my laptop from my ... The folder is shared and network users have the right to alter ... >>Event log on Y reports that a login request type 3 was made and the login ... >>request was access denied. ...
    (microsoft.public.windowsxp.network_web)