Hi all,
i'm trying to redirect a port from my 'gateway' PC to a specific host on my network. I have ipfw configured - running in 'stelth' mode to the outside world, i have priveiously used ppp nat to add static nat on the dial up device tun0. This works fine through my firewall!
I'm trying to change the way nat is run, so the rules are loaded as part of the firewall, or at boot with natd_flags option - i have a script - instead of when ppp is started. Basicaly i am planning to swap over to a cable modem SOON! and will need to run natd to to my redirection, and would like to set up the basic structure now.
I don't want to reconfigure my firewall to pass all packets through to natd. I just want to add a rule (in ipfw?) or some where to forward packets from port A on host A1 to port B.
I have preiviosly used ...
natd port udp xx.xx.xx.xxort port
with dial up nat in ppp.conf. i am now tyring ...
redirect_port udp xx.xx.xx.xxort port
in a natd script in /etc called by nat_flags in /etc/rc.conf
any help appreciated!
Jaybot =) "Always know what you say, but don't always say what you know!"
i'm trying to redirect a port from my 'gateway' PC to a specific host on my network. I have ipfw configured - running in 'stelth' mode to the outside world, i have priveiously used ppp nat to add static nat on the dial up device tun0. This works fine through my firewall!
I'm trying to change the way nat is run, so the rules are loaded as part of the firewall, or at boot with natd_flags option - i have a script - instead of when ppp is started. Basicaly i am planning to swap over to a cable modem SOON! and will need to run natd to to my redirection, and would like to set up the basic structure now.
I don't want to reconfigure my firewall to pass all packets through to natd. I just want to add a rule (in ipfw?) or some where to forward packets from port A on host A1 to port B.
I have preiviosly used ...
natd port udp xx.xx.xx.xxort port
with dial up nat in ppp.conf. i am now tyring ...
redirect_port udp xx.xx.xx.xxort port
in a natd script in /etc called by nat_flags in /etc/rc.conf
any help appreciated!
Jaybot =) "Always know what you say, but don't always say what you know!"