|
|||
port fowarding
So I want to forward port 22 from my wan (xl3) to my lan (xl0). The client computer i want to forward is 192.168.253.10
Code:
pass in log from xl3 proto tcp from any to any port 22 rdr-to 192.168.253.10 port 22 I did see something about match command. Is that something that I need to do? |
|
||||
And if you're doing nat, don't forget to run:
sysctl net.inet.ip.forwarding=1 echo "net.inet.ip.forwarding=1" >>/etc/sysctl.conf and the same if you're using ipv6: sysctl net.inet6.ip6.forwarding=1 echo "net.inet6.ip6.forwarding=1" >>/etc/sysctl.conf |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Midori port | roddierod | OpenBSD Packages and Ports | 18 | 6th January 2011 04:01 PM |
SSH on port 443 | maxrussell | General software and network | 4 | 6th April 2009 05:16 AM |
Songbird port | maxrussell | FreeBSD Ports and Packages | 1 | 2nd March 2009 10:47 AM |
port forwarding | ikevmowe | OpenBSD Security | 13 | 21st November 2008 06:03 PM |
vlc port failing | maxrussell | FreeBSD Ports and Packages | 11 | 27th May 2008 04:38 PM |