Welcome, Guest. Please login or register.
Did you miss your activation email?
+  pfSense Forum
|-+  pfSense English Support» Firewalling» SSH port forwarding
Username:
Password:
 
 

Pages: [1]   Go Down
  Print  
Author Topic: SSH port forwarding  (Read 1250 times)
0 Members and 1 Guest are viewing this topic.
parvell
Newbie
*
Offline Offline

Posts: 3


View Profile
« on: March 03, 2010, 08:22:11 am »

Greetings
I think this is a more port-forwarding issue than a SSH one.
I got a Mac Server that accept SSH connection behind a pfsense firewall: all I need is to port forwarding firewall SSH access from port 6116 (external) to 22 (internal for server).
I created a NAT and firewall rules to forward connection from port 6116 to 22 to my internal IP server, but do not work. Do I have to add some addon or enable SSH access?
I don't need a SSH access to firewall, only a port forwarding for SSH, from port 6116 to 21 to my server.
Eventually, OpenVPN can be a better solution to this issue, to have a secure encrypted connection? (I use this with a ssh tunnel for a VNC connection from my client to sever).
Thx
Logged
danswartz
Hero Member
*****
Offline Offline

Posts: 1158


View Profile
« Reply #1 on: March 03, 2010, 09:39:09 am »

post the NAT rule and access rule pls.
Logged
parvell
Newbie
*
Offline Offline

Posts: 3


View Profile
« Reply #2 on: March 03, 2010, 10:04:09 am »

here's the rules (NAT and port forwarding)
Logged
jimp
Administrator
Hero Member
*****
Offline Offline

Posts: 12851



View Profile
« Reply #3 on: March 03, 2010, 10:23:38 am »

Remove the source port from the firewall rule - that is not needed and is likely the source of your problem, since it will fail to match almost any packet that comes in.
Logged

Need help fast? Commercial Support!

Co-Author of pfSense: The Definitive Guide. - Check the Doc Wiki for FAQs.

Do not PM for help!

Donate to the project | My Wish List
danswartz
Hero Member
*****
Offline Offline

Posts: 1158


View Profile
« Reply #4 on: March 03, 2010, 10:42:45 am »

Damn, beat me to it Smiley
Logged
parvell
Newbie
*
Offline Offline

Posts: 3


View Profile
« Reply #5 on: March 03, 2010, 02:22:19 pm »

It worked perfectly!!!!!!
Thx a lot
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

 

Page created in 0.03 seconds with 20 queries.