Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 10-07-2010, 08:35 AM   #1
Registered: Mar 2003
Location: Northern Virginia
Distribution: RH Enterprise, Fedora
Posts: 96

Rep: Reputation: 17
Setting up VPN access

I have 2 Linux systems, with a firewall system in between them. Call them SysA and SysB. From SysA, I can ssh into SysB. But I can't do the reverse - the firewall won't allow my to come back in. Is it possible to set up a VPN between those 2 systems so that I can ssh back to SysA from SysB? I'm not familiar with VPN setups, so this may be a very simple question. If so, what programs do I need to look at and are there tutorials available for setting things up?

I'm running recent Fedora systems (12 and 13) on these machines


Old 10-08-2010, 04:31 AM   #2
Senior Member
Registered: Jul 2007
Distribution: Gentoo
Posts: 2,125

Rep: Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781
You may be able use a VPN, but if all your are interested in is SSH, it would be over kill. A VPN would create a virtual adapter that gives the client an IP in the range of the host so that for all practical purposes they are on the same network; just logically instead of physically.

I would suggest that you look into port forwarding on your firewall. In case you haven't already, you should also be sure to secure your SSH server(s) and by that I mean more than use a non standard port.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting up VPN for Windows machines to access remote Samba shares irvken Linux - Server 1 11-08-2009 02:10 PM
VPN pptpd connected vpn server only access need help please u4david Linux - Networking 1 10-17-2008 03:54 PM
sharing VPN access with lan + after vpn connected unable to ping lan/public ip xxx_anuj_xxx Linux - Networking 1 03-14-2008 02:50 AM
IPTABLES Interet access / VPN access vlady_s Linux - Newbie 2 01-24-2008 08:12 PM
How to make non-vpn machines to access VPN server deepugopi Linux - Networking 0 07-31-2007 06:55 AM > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 03:06 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration