|
|||
port forwarding
[ COMP1 ] [ COMP3 ]
| | ---+------+-----+------- xl0 [ OpenBSD ] fxp0 -------- ( Internet ) | [ COMP2 ] Please help me to configure the /etc/pf.conf that my OpenBSD can forward port 55555 to port 22. I have sshd installed on COMP3, and I want to ssh to COMP3 from Internet. I have following rules, but it doesn't work. Please help. # macros ext_if="fxp0" int_if="xl0" comp3="192.168.0.3" # options set block-policy return set loginterface $ext_if set skip on lo # scrub scrub in ## my port forwarding rule rdr on $ext_if proto tcp from any to any port 55555 -> 192.168.0.3 port 22 # filter rules block in pass out keep state pass in quick on $int_if |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
OpenBSD, vpnc and packets forwarding problems | Tritone | OpenBSD General | 3 | 2nd July 2009 09:59 PM |
SSH on port 443 | maxrussell | General software and network | 4 | 6th April 2009 05:16 AM |
x11 forwarding over ssh not working | kasse | OpenBSD General | 14 | 23rd December 2008 02:21 PM |
VNC port forwarding help | revzalot | OpenBSD Security | 3 | 10th September 2008 06:59 AM |
vlc port failing | maxrussell | FreeBSD Ports and Packages | 11 | 27th May 2008 04:38 PM |