LinuxQuestions.org
Visit Jeremy's Blog.
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 09-01-2010, 12:42 AM   #1
morphix
Member
 
Registered: Nov 2007
Location: Newcastle, Australia
Distribution: Ubuntu, Debian, Arch
Posts: 47

Rep: Reputation: 15
vpnc + adding routes for VPN machine on OpenWRT router


Hi.

I have a OpenWRT router.

I have vpnc installed on my linux server which connects to my works VPN.

I am able to access VPN traffic from my linux server.

In order for other devices on my LAN to access my works VPN, i need to add routes in my OpenWRT router to point to my linux server. (so that it can then forward the traffic via the VPN)

I have so far been unsuccessful in adding correct iptables rules to my linux server to allow forward from my LAN to the work VPN.
 
Old 09-07-2010, 12:32 PM   #2
quanta
Member
 
Registered: Aug 2007
Location: Vietnam
Distribution: RedHat based, Debian based, Slackware, Gentoo
Posts: 724

Rep: Reputation: 100Reputation: 100
- Could you please draw a simple diagram? (with IP address)
- Which VPN server are you using?
- Have you enabled IP forwarding on linux server?
 
Old 09-15-2010, 07:53 PM   #3
morphix
Member
 
Registered: Nov 2007
Location: Newcastle, Australia
Distribution: Ubuntu, Debian, Arch
Posts: 47

Original Poster
Rep: Reputation: 15
Here is a basic diagram with a lot of other machines not shown.

http://www.morphix.info/my-network.png

My "VPN/Proxy Server" acts a VPN server for when i'm roaming around but i also wants to use it to connect to my work vpn via VPNC.

All i need is to have the routes added on my gateway (my openwrt router) and also have the appropriate forwarding rules on my VPN/Proxy Server machine (debian)
 
  


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
[SOLVED] connect to a vpn connection using vpnc someshpr Linux - Software 2 11-16-2010 04:56 PM
VPN (vpnc) connection only seems to work every other time g-man1066 Linux - Networking 0 08-12-2010 09:13 PM
use ipv6 OpenWrt router with Debian donnied Linux - Networking 1 07-20-2008 09:17 AM
vpnc - please Help vpn connection nilleso Linux - Networking 6 09-22-2005 09:34 PM
Adding static routes to fc1 router Tom123 Linux - Networking 1 08-20-2004 03:28 AM


All times are GMT -5. The time now is 03:55 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