View Single Post
  #4   (View Single Post)  
Old 14th February 2009
DutchDaemon's Avatar
DutchDaemon DutchDaemon is offline
Real Name: Ben
Spam Refugee
 
Join Date: Jul 2008
Location: Rotterdam, The Netherlands
Posts: 336
Default

Just wondering whether it would be possible to NAT between a public IP address on a NIC and an RFC1918 network aliased on that same NIC.

ifconfig fxp0 inet 123.123.123.123 netmask 255.255.255.0
ifconfig fxp0 alias 10.0.0.1 netmask 255.255.255.0

nat on fxp0 from 10.0.0.0/24 to any -> 123.123.123.123

Would it cause weird mojo, or something else?
Reply With Quote