Server Help Forum Index Server Help
Community forums for Subgame, ASSS, and bots
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   StatisticsStatistics   RegisterRegister 
 ProfileProfile   Login to check your private messagesLogin to check your private messages   LoginLogin (SSL) 

Server Help | ASSS Wiki (0) | Shanky.com
VPN/Network setup

 
Post new topic   Reply to topic Printable version
 View previous topic  Can you defeat Vader? Post :: Post .OGG Files  View next topic  
Author Message
Solo Ace
Yeah, I'm in touch with reality...we correspond from time to time.


Age:37
Gender:Gender:Male
Joined: Feb 06 2004
Posts: 2583
Location: The Netherlands
Offline

PostPosted: Thu Nov 17, 2005 2:26 pm   Post maybe stupid    Post subject: VPN/Network setup Reply to topic Reply with quote

I just have a few questions for some issues I'm currently having with a few network setups I'd like to use.

Say my router would be a Linux box (I'd actually prefer that over a Windows box).
On this box also a VPN client is running to establish a link over the Internet to another remote LAN.
The remote LAN's VPN server would also be a Linux box.

So it'd somewhat look like this:
Code: Show/Hide
LAN <--> [Router/VPN client] <--> Internet <--> [Router/VPN server] <--> Remote LAN


but now I'm wondering how I could bypass this VPN connection from certain programs on a system on the LAN behind the [Router/VPN client].

Would this only require a routing rule or would I need to setup a (socks) proxy server on the [Router/VPN client] to let programs use that instead of the VPN? I do want the VPN as default route for the other traffic, though...

Any ideas? icon_confused.gif
Back to top
View users profile Send private message Add User to Ignore List
Dr Brain
Flip-flopping like a wind surfer


Age:39
Gender:Gender:Male
Joined: Dec 01 2002
Posts: 3502
Location: Hyperspace
Offline

PostPosted: Thu Nov 17, 2005 4:12 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

My understanding of VPNs is that if you address something to an address on the other side of the VPN bridge, the server will route it automagically. And if you want something outside the VPN in the wide world, all you have to do is send it to an address outside both LANs.

An example usage would be helpful in determining exactly what you're looking for.
_________________
Hyperspace Owner

Smong> so long as 99% deaths feel lame it will always be hyperspace to me
Back to top
View users profile Send private message Add User to Ignore List AIM Address Yahoo Messenger MSN Messenger
Mine GO BOOM
Hunch Hunch
What What
Hunch Hunch<br>What What


Age:41
Gender:Gender:Male
Joined: Aug 01 2002
Posts: 3615
Location: Las Vegas
Offline

PostPosted: Thu Nov 17, 2005 11:16 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

Here is how my network is setup.


My network, with myself, my servers, my brother, and my roommate, are all on 192.168.1.0/24. So anything inside that range stays within our LAN. The router is running m0n0wall. My parents are 120 miles south of here, and run on a private network of 192.168.2.0/24. They are also behind a m0n0wall router.

On both of those routers, I have IPSec setup. Anytime my computer tries to connect to anything in the 192.168.2.0 - 192.168.2.255 range, my router goes out over the internet, talks to the other router, and sets up a secure IPSec tunnel. Then, the packet I originally wanted to go to 192.168.2.102 gets sent over this encrypted tunnel. So now, I can have Windows setup a file sharing network with my parent's computer, and can easily copy files to/from them without having to make sure a FTP server is setup. Also allows me to do things such as VNC without having them have an open port on their network for every computer.

Sadly, the m0n0wall project doesn't support broadcasting over IPSec or VPN, so can't do LAN games of things such as Starcraft.




ipsec.png - 7.69 KB
File downloaded or viewed 8 time(s)
Back to top
View users profile Send private message Add User to Ignore List Send email
Solo Ace
Yeah, I'm in touch with reality...we correspond from time to time.


Age:37
Gender:Gender:Male
Joined: Feb 06 2004
Posts: 2583
Location: The Netherlands
Offline

PostPosted: Fri Nov 18, 2005 8:32 am   Post maybe stupid    Post subject: Reply to topic Reply with quote

Well, I'd like to setup my stuff as yours, MGB (which I tried to make clear with my stuff in the code boxes), but I want to have the VPN as the default route, and let specific traffic (from certain software) actually bypass it...

I tried using m0n0wall already, though, but it didn't feel like responding on the networks, so I dumped it. sa_tongue.gif
Back to top
View users profile Send private message Add User to Ignore List
Dr Brain
Flip-flopping like a wind surfer


Age:39
Gender:Gender:Male
Joined: Dec 01 2002
Posts: 3502
Location: Hyperspace
Offline

PostPosted: Fri Nov 18, 2005 10:08 am   Post maybe stupid    Post subject: Reply to topic Reply with quote

Default route? Uh, there is no default route. If you send the packet to an address on the other LAN, it will go there. If you send it to an address not on either LAN, it'll head out into the wide wide world.

Again, why do you think you want to do this?
Back to top
View users profile Send private message Add User to Ignore List AIM Address Yahoo Messenger MSN Messenger
Mine GO BOOM
Hunch Hunch
What What
Hunch Hunch<br>What What


Age:41
Gender:Gender:Male
Joined: Aug 01 2002
Posts: 3615
Location: Las Vegas
Offline

PostPosted: Fri Nov 18, 2005 10:47 am   Post maybe stupid    Post subject: Reply to topic Reply with quote

So, you'd roughly want a transparent proxy on one network, which forwards all packets to the other network over the internet, so the other end will send it out to the world? Or you want all traffic to be denied, except LAN traffic and a few other specific IP addresses?
Back to top
View users profile Send private message Add User to Ignore List Send email
Solo Ace
Yeah, I'm in touch with reality...we correspond from time to time.


Age:37
Gender:Gender:Male
Joined: Feb 06 2004
Posts: 2583
Location: The Netherlands
Offline

PostPosted: Wed Dec 14, 2005 5:53 am   Post maybe stupid    Post subject: Reply to topic Reply with quote

Brain, yes, except if it's setup to make all (except those for the local LAN) go over the VPN.
This would make a "transparent" proxy as MGB asked about.

So yeah, the packets would go over the VPN first, then actually get shot into the world.

Why I'd want to do this? To get around the restrictions on my dad's internet connection.
I'm not sure why only outgoing FTP, VPN and HTTP/HTTPS connections are allowed to be made, but the company that set it up probably thought it'd be secure.
But whatever, I guess that's what the government wants.

I got some solution, but I think I'll end up running VNC again anyway.

Thanks for your time. sa_tongue.gif
Back to top
View users profile Send private message Add User to Ignore List
Display posts from previous:   
Post new topic   Reply to topic    Server Help Forum Index -> Trash Talk All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can 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
You cannot attach files in this forum
You can download files in this forum
View online users | View Statistics | View Ignored List


Software by php BB © php BB Group
Server Load: 46 page(s) served in previous 5 minutes.

phpBB Created this page in 0.639021 seconds : 34 queries executed (82.7%): GZIP compression disabled