Re: IPTables not forwarding from public to private subnet.



On Sep 28, 11:37 am, Tauno Voipio <tauno.voi...@xxxxxxxxxxxxx> wrote:
techjoh...@xxxxxxxxx wrote:
I'm trying to use IPTables nat forwarding from public ip address to
internal subnet, but it's not relaying.

Public Ip address

207.202.xxx.xxx -> 10.0.0.100 (Linux router) -> 10.1.10.15 (Linux
machine.)

I can access the linux machine from 10.0.0.100's router.

I can access the Internet and the Linux router from the Linux machine.

I'm using the iptables command:

iptables -t nat -A PREROUTING -p tcp --dport 26 -j DNAT --to
10.1.10.15:26

I'm even disabled all of the DENY rules for forwarding.

--TJ

Did you remember to enable IP forwarding?

--

Tauno Voipio
tauno voipio (at) iki fi

Yup.

.



Relevant Pages

  • Re: Archer III Is Ready for South Africa
    ... insurance confirmation and will set a launch date to around the 22nd. ... Time to relax for a few days and wait for my overflight/landing permits hahahaha!!!! ... Tauno Voipio ... tauno voipio iki fi ...
    (rec.aviation.piloting)
  • Re: Thinkpad wireless masquerade
    ... >>tauno voipio iki fi ... > again this PC can ping the thinkpad but not beyond! ... Do you have IP forwarding turned on in Thinkpad? ...
    (comp.os.linux.networking)
  • Re: onboard device discovery
    ... tauno voipio iki fi ... I surely haven't read the GNU license completely, but I guess if I am ... not copying the code elsewhere but trying to know the function calls ...
    (comp.os.linux.development.system)
  • Re: mailform hacking
    ... Andy Jacobs wrote: ... all valid URL/URI forms. ... tauno voipio iki fi ...
    (comp.os.linux.security)
  • Re: Tauno Voipio : Email?
    ... I am very sorry for contacting you this way; ... I was on a trip and unable to respond - sorry. ... tauno voipio iki fi ...
    (comp.os.linux.networking)