Networking Forums

Networking Forums > Computer Networking > Linux Networking > IPTables not forwarding from public to private subnet.

Reply
Thread Tools Display Modes

IPTables not forwarding from public to private subnet.

 
 
techjohnny@gmail.com
Guest
Posts: n/a

 
      09-25-2007, 07:47 PM
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

 
Reply With Quote
 
 
 
 
Tauno Voipio
Guest
Posts: n/a

 
      09-28-2007, 06:37 PM
(E-Mail Removed) 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
 
Reply With Quote
 
techjohnny@gmail.com
Guest
Posts: n/a

 
      09-28-2007, 10:57 PM
On Sep 28, 11:37 am, Tauno Voipio <tauno.voi...@INVALIDiki.fi> wrote:
> techjoh...@gmail.com 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.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I NAT Public to Private? >>Smith Windows Networking 2 04-10-2006 10:21 PM
iptables port forwarding blocked from local subnet Bart Linux Networking 2 10-16-2005 07:24 PM
Public IP and private network =?Utf-8?B?R1VS?= Windows Networking 3 11-26-2004 09:38 PM
Iptables: How do I forwarding public IPs into a router inside a privateIP network? Stephen Hurrell Linux Networking 1 11-22-2003 10:17 PM
forwarding between private and public networks Tobias Skytte Linux Networking 2 11-11-2003 08:22 AM



1 2 3 4 5 6 7 8 9 10 11