Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 09-01-2010, 01:42 AM   #1
Registered: Nov 2007
Location: Newcastle, Australia
Distribution: Ubuntu, Debian, Arch
Posts: 53

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


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, 01:32 PM   #2
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, 08:53 PM   #3
Registered: Nov 2007
Location: Newcastle, Australia
Distribution: Ubuntu, Debian, Arch
Posts: 53

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

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)


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

All times are GMT -5. The time now is 03:12 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration