[SunHELP] ipnat rdr

Gregory Leblanc sunhelp at sunhelp.org
Mon Dec 4 20:46:03 CST 2000


ok, this isn't strictly a Sun question, but this is the best resource
I've got.  :-)  I've got a nice OpenBSD SS2/64MB with a lance
ethernet/buffered SCSI sbus card that I'm using for my firewall/proxy
machine.  Right now, I've got it doing basic firewalling and NAT, but I
can't figure out how to open it up to my internal servers.  What I'd
like to do is send port 80 on the firewall, to an internal machine.  le0
is my external interface, with an address of xxx.xxx.xxx.48.  le1 is my
internal interface, with an address of 192.168.1.1.  My web server is
located at 192.168.1.10.  The rule I have written based on the man pages
for ipnat and the examples is:

rdr le1 216.99.218.48/32 port 80 -> 192.168.1.10 port 80


This doesn't work.  Can anybody help me? Thanks,

    Greg



More information about the SunHELP mailing list