LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 10-21-2004, 03:32 AM   #1
muxman
Member
 
Registered: Apr 2004
Distribution: Debian
Posts: 198

Rep: Reputation: 30
Anyone have a VPN howto?


I'm looking to setup a VPN on an exisiting system running the 2.6.x kernel. Does anyone have a howto that can lead me through the setup of a VPN server? I've installed a couple different ones but just can't seem to get them to work correctly. I've tried poptop, tinc and openvpn but all I can get them to do is connect. I can't get the traffic to forward to the LAN like is should.

A good howto that can get this running would be appreciated.
 
Old 10-21-2004, 04:03 AM   #2
maxut
Senior Member
 
Registered: May 2003
Location: istanbul
Distribution: debian - redhat - others
Posts: 1,188

Rep: Reputation: 50
did u try any similiar to following POSTROUTING rule?
Code:
iptables -t nat -A POSTROUTING -s vpn_net/subnet -d local_net/subnet -j SNAT --to ip_of_eth_local
if it still doesnt work, do "iptables -nvL" and put the output here. also make sure the routing is on. and give us more info about your network.

good luck.
 
Old 10-21-2004, 04:36 AM   #3
muxman
Member
 
Registered: Apr 2004
Distribution: Debian
Posts: 198

Original Poster
Rep: Reputation: 30
Thanks for the answer but I'm not looking for something like that. I want a howto to get me from start to finish. I've tried suggestions like that while in the middle of troublshooting and none seemed to get the problems fixed. Right now I have all VPN servers off of the system. I'd like something to get me from install to connection. I'm sure the previous installs could not be fixed with someting simple like what you gave me. The configs were severly butchered when I was finished with them after trying other solutions that I found in the forum.
 
Old 10-21-2004, 05:30 AM   #4
maxut
Senior Member
 
Registered: May 2003
Location: istanbul
Distribution: debian - redhat - others
Posts: 1,188

Rep: Reputation: 50
i use poptop and i installed it from rpm. so i didnt follow any howtos. after installation i used a POSTROUTING rule to let vpn client to access LAN. your distro is different than mine. i have redhat. sorry i cant help u much.

there is another vpn server freeswan. u can check it also.
http://www.freeswan.org/

good luck.
 
Old 10-21-2004, 06:47 AM   #5
TheEdge
LQ Newbie
 
Registered: Oct 2004
Posts: 15

Rep: Reputation: 0
http://www.ipsec-howto.org/
 
  


Reply


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
HOWTo Configure POPTOP 1.2 VPN Server On Fedora? fortezza Linux - Networking 7 06-07-2006 11:55 AM
VPN: linux VPN server behind Linksys router hamish Linux - Networking 14 08-25-2005 08:42 PM
VPN Howto lobo78 Linux - Networking 2 05-28-2004 02:18 PM
How do i connect Ciscos VPN client to Checkpoint VPN server Klas Linux - Networking 1 11-29-2003 08:00 AM
MASQ VPN to VPN Router hakcenter Linux - Networking 0 06-26-2003 04:14 PM


All times are GMT -5. The time now is 10:41 PM.

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