Skip to contentSkip to conversation

NAT port forwarding works only for the local net?

DISCUSSION Ralf 2 participants 2 messages Feb 9, 2009

lore
Share & tools
lore

Ralf

author
#0 lore raw

I made NAT port forwarding rules. It has following effect:
Packets coming from the local net get forwarded as expected, but connects to that port coming from other nets just "hang" on the client-side.

I want all packets, regardless of the source IP/net/port,
coming to that port be forwarded to another machine:port.
Does iptables port forwarding work only for one source net (the local net) ?

#1 lore raw

Hi Ralf!

Please be more specific...

Ralf írta:

Quoted 4 lines

I made NAT port forwarding rules. It has following effect:
Packets coming from the local net get forwarded as expected, but connects to that port coming from other nets just "hang" on the client-side.

Maybe some routing problem here...

Quoted 4 lines

I want all packets, regardless of the source IP/net/port,
coming to that port be forwarded to another machine:port.
Does iptables port forwarding work only for one source net (the local net) ?

Nope. But can be... :D

Swifty