Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Openvpn, a possible solution for my problem
Robert83
post Mar 2 2004, 01:20 PM
Post #1


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,439
Joined: 3-January 04
From: Germany
Member No.: 2,069



Hi,

Before I even start with how I think I will do this, anyone know if Win95,98,2000,XP runs well trough a OpenVPN VPN tunel [the tunel will be between the two linux computers, a simple end-to-end VPN ] ?


So now here is the thing I'll do :

1.) mknod /dev/net/tun c 10 200
modprobe tun
[Question : this is already a built in function from kernel 2.4 and up right?]
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[before the next part...as you know I'm bridging two interfaces at each end, wich means I've got Linux1 with 2 interfaces,
the bridge name for it is xxxxxxx1 , so in the firewall I should use the bridge name instead of the eth0 or eth1 right?]

2.)iptables -A INPUT -i tun+ -j ACCEPT [this should enable incoming connections trough the tunel right?]

openvpn --remote june.kg --dev tun1 --ifconfig 10.4.0.1 10.4.0.2 --verb 9
question :
openvpn --remote 192.168.1.210 --dev hmmmm.... how should I change this line if my Linux box1 is 192.168.1.200 and my Linux box2 is 192.168.1.210 ?
and finaly where do I need to add this openvpn line?

3.) to make sure that the vpn cannot be cheated, I will need an INPUT drop everything and a FORWARD drop everything rule right?

Can you please help me solve this? how exactly should this look at the end?

Sincerely
Robert B


--------------------
Robert Becskei
robert83@linuxhelp.net
--------------------
May the source be with us!
--------------------
AMD X2-3800 @ 2400Mhz
2048MB DDR 400Mhz
DFI Lanparty UT4 NF4 ULTRA-D
GeForce 7800GT
250GB+250GB
Pioneer DVD-RW
17inch Samsung Syncmaster 757NF
WinXP Pro (SP2)/ CentOS 4.3
--------------------
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 11th December 2017 - 11:38 PM