All pastes #923812 Raw Edit

Stuff

public text v1 · immutable
#923812 ·published 2008-02-29 21:40 UTC
rendered paste body
trying to get NSTX to work I double checked everything and the only thing I can think is I did not do this part right in unix

from : http://thomer.com/howtos/nstx.html
in rc.conf I did gateway_enable="YES" is that all I need to do to complete the following in UNIX ?
or do I need to do something  with pf ??


   "

Now you need to enable forwarding on this server. I use iptables to implement masquerading. There are many HOWTOs about this (a simple one, for example). On Debian, the configuration file for iptables is in /var/lib/iptables/active. The relevant bit is:

*nat
:PREROUTING ACCEPT [6:1596]
:POSTROUTING ACCEPT [1:76]
:OUTPUT ACCEPT [1:76]

-A POSTROUTING -s 10.0.0.0/8 -j MASQUERADE
COMMIT

"