LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 10-19-2004, 11:23 AM   #1
GT3NE1
LQ Newbie
 
Registered: Aug 2004
Posts: 24

Rep: Reputation: 15
Vpn


I have recomplied 2.6.8 to include IPSec user configuration interface. I have also installed ipsec-tools, but I am unsure of what to do next.

My firewall and VPN server are the same machine and NAT and iptables are working fine as I can access the Internet from the NAT'd machines. From all the research I have done, I guess I need to "advertise" the paths to NAT'd machine through the Firewall/VPN server, but I am not sure how to do it. Unfortunatley the Linux VPN Masquerade HOWTO is pretty old and doesn't cover 2.4 - 2.6 kernels.

Any help would be appreciated.

Thanks.

Matt
 
Old 10-20-2004, 06:09 AM   #2
maxut
Senior Member
 
Registered: May 2003
Location: istanbul
Distribution: debian - redhat - others
Posts: 1,188

Rep: Reputation: 50
im not good enough at english.
i hope i have understood your trouble.

i have poptop vpn server. it works like that:
internet--------------------------------------- (eth1)
..................................................... |
client--- tunnel over eth1--(ppp0) vpn-firewall-box (eth0)---- LAN
192.168.16.0/24.......................................................192.168.0.0/24

here is the iptables rule that allow VPN client to access LAN.
Code:
iptables -t nat -A POSTROUTING -o eth0 -s 192.168.16.0/24 -j SNAT --to ip_of_eth0
i hope this helps u.

good luck.

Last edited by maxut; 10-20-2004 at 06:12 AM.
 
  


Reply



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
VPN: linux VPN server behind Linksys router hamish Linux - Networking 14 08-25-2005 08:42 PM
VPN Question Win98->internet->Router->Linux VPN Server->Win2k Server patrickrea Linux - Networking 1 08-10-2004 02:09 AM
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
Connect to Cisco VPN w/o Cisco VPN Client gboutwel Linux - Networking 4 02-07-2003 12:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 11:43 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration