Re: Port Forwarding

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Thom Paine wrote:
> I'm having trouble getting port forwarding working on my one box.

I think port forwarding is working fine, it's the routing of
the traffic back to the source that is not because linux doesn't
handle multiple default gateways very well out of the box. Look
into multi homed routing using iproute2(I think that's the command),
or NAT the traffic going to the inside so routing works. One easy way
to do this is to use a program like rinetd or redir to port forward
the traffic.

Of course the downside to this is all traffic that is forwarded will
appear to your internal host to be originating from your
gateway/firewall.

If it was my setup I wouldn't do either instead I would fire up a
VM that had the other gateway as it's default gateway, keep it
simpler.

nate


_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux