www.zeroshell.org Forum Index www.zeroshell.org
Linux Distribution for server and embedded devices
 
 SearchSearch  RegisterRegister  UsergroupsUsergroups 
 ProfileProfile  Log inLog in  Log in to check your private messagesPrivate Message 

Package redirection on VPN?

 
Post new topic   Reply to topic    www.zeroshell.org Forum Index -> Networking
View previous topic :: View next topic  
Author Message
come_down_easy



Joined: 06 Dec 2010
Posts: 2

PostPosted: Mon Dec 06, 2010 11:57 pm    Post subject: Package redirection on VPN? Reply with quote

Hey all,

For the purpose of a school work, I have to set-up a special network topology...
To summarize things, I have to to join two separated LANs with multiples VPNs (one for the VOIP, one for the administration,...).
This part isn't a problem, VPNs are up and running, and clients on both sides can ping each other. I'm using RIPv2.

I've got two questions:

1) Is it possible to avoid static routes distribution over RIPv2 in Zeroshell (an equivalence to no redistribute static on Cisco material)? I don't want to distribute my DG, as both sites have an Internet access!

2) I have to route packets (depending on protocols) on different interfaces (eg: all traffic must be on VPN00, except VOIP traffic that has to be on VPN01, etc.) The problem is, my routing table contains all entry needed, but the output interface is always the same: VPN00! I can't send a single package on VPN01...
Theoretically, as all VPNs are linking the same sites, I should be able to reach both LANs through any VPN, but I can't figure how to redirect package on different interfaces.
(I hope I'm clear!)

Is it possible to override the routing table and send package wherever I want? Laughing

How to achieve this? I believe it could have something to do with iptables but I can't figure it out...

Thanks in advance!

Oh and, kudos to the developer(s) for this nice little piece of software!
Back to top
View user's profile Send private message
come_down_easy



Joined: 06 Dec 2010
Posts: 2

PostPosted: Tue Dec 07, 2010 1:55 pm    Post subject: Reply with quote

I managed to find how to disable the static route distribution (in /etc/ripd.conf) but It seems my configuration file is always replaced by the default one...

Which config/service/daemon must I modify/restart to make it effective?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    www.zeroshell.org Forum Index -> Networking All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group