Thread: port fowarding
View Single Post
  #2   (View Single Post)  
Old 12th October 2010
wilfried's Avatar
wilfried wilfried is offline
Real Name: Peter Strömberg
Port Guard
 
Join Date: May 2008
Location: Teckomatorp, Sweden
Posts: 11
Default

That's an invalid syntax, change the pass in from xl3 to pass in on xl3
You also probably want to nat outgoing traffic

Code:
pass in on xl3 inet proto { tcp udp } from any to (xl3) port ssh rdr-to 192.168.253.10
pass out on xl3
match out on xl3 from !(xl3) nat-to (xl3:0)
__________________
HP ProCurve 1800-24G, Phenom 9750, Dual Opteron 265, AMD64 3000+,
Dual P3-800, eMac G4 1.0GHz, Sun Blade 150, Alpha PWS 433 and more ...
Reply With Quote