[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: hot to access my public IP interface fro minside
read the manpage for nc and the "Traffic Redirection" section of the pf
You'll be able to figure out what you need in no time :-)
>I have OpenBSD running as my ADSL gateway.
>it s a public IP 80.117.x.y
>my internal network has 172.16.16.x
>everything works fine with this ruke:
>nat on tun0 from 172.16.16.0/24 to any -> (tun0)
>and I use redirect rules for services which are hosted
>on different machines on internal network:
>rdr on tun0 inet proto tcp from any to (tun0) port 80 -> 172.16.16.100
>my problem is that I am unable to access my public IP fro minside
>for example from my internal IP 172.16.16.1 if I try to open
>http://80.117.x.y it won't work.
>how can ISet a proper NET rule to make it work ?