|
||||||||
|
|
|||||||
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|
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 techjohnny@gmail.com |
|
#2
|
|||
|
|||
|
(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 |
|
#3
|
|||
|
|||
|
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. |
![]() |
| Tags |
| forwarding, iptables, private, public, subnet |
| Thread Tools | |
| Display Modes | |
|
|