VPN over Linux box.


 
Thread Tools Search this Thread
Operating Systems Linux Debian VPN over Linux box.
# 1  
Old 09-29-2008
Power VPN over Linux box.

Hi,

I've installed Linux fedora 3 on my machine and I want to develop the VPN server on Linux. I've several machines which access the linux box as gateway for net and mail usage. The Webmin cp is installed on it. Now I want a external windows based machine connect to my internal windows server using RDP through linux gateway, the linux server should give the access to my internal machine using VPN connection. There is broadband service running on my linux server. How I can give the RDP access of internal network machine to external windows based machine through linux box ..?

Thanks.

Regards,
Ashwin.
# 2  
Old 09-30-2008
search for OpenVPN. Read the tutorials.
# 3  
Old 10-02-2008
Hey, I've got one script on web. But I'm not able to implement it on my FC3 server. Plz. look the following url, -

Microsoft VPN behind IPTABLES firewall

What I want to do is same which is mentioned in above url but it's not working on my server. I'm getting several warnings which I saw the message log, -

====================================================================
Oct 2 15:40:17 nashik kernel: ## FW_I_BLOCK ## IN=ppp0 OUT= MAC= SRC=203.197.174.81 DST=59.95.54.252 LEN=1492 TOS=0x00 PREC=0x00 TTL=55 ID=24677 PROTO=TCP SPT=80 DPT=2313 WINDOW=6432 RES=0x00 ACK URGP=0
Oct 2 15:40:17 nashik kernel: ## FW_I_BLOCK ## IN=ppp0 OUT= MAC= SRC=218.248.240.24 DST=59.95.54.252 LEN=364 TOS=0x00 PREC=0x00 TTL=25 ID=63219 PROTO=UDP SPT=53 DPT=1034 LEN=344
Oct 2 15:40:20 nashik kernel: ACPI: PCI interrupt 0000:00:02.0[A] -> GSI 10 (level, low) -> IRQ 10
Oct 2 15:40:20 nashik kernel: [drm] Initialized i915 1.1.0 20040405 on minor 0:
Oct 2 15:40:20 nashik kernel: mtrr: base(0xd0020000) is not aligned on a size(0x300000) boundary
Oct 2 15:40:25 nashik kernel: ## FW_F_BLOCK ## IN=eth0 OUT=ppp0 SRC=192.168.0.112 DST=220.119.176.238 LEN=53 TOS=0x00 PREC=0x00 TTL=127 ID=46691 PROTO=UDP SPT=15536 DPT=11268 LEN=33
Oct 2 15:40:25 nashik kernel: ## FW_F_BLOCK ## IN=eth0 OUT=ppp0 SRC=192.168.0.112 DST=116.42.57.42 LEN=53 TOS=0x00 PREC=0x00 TTL=127 ID=46692 PROTO=UDP SPT=15536 DPT=15188 LEN=33
Oct 2 15:40:25 nashik kernel: ## FW_F_BLOCK ## IN=eth0 OUT=ppp0 SRC=192.168.0.112 DST=122.164.226.253 LEN=53 TOS=0x00 PREC=0x00 TTL=127 ID=46693 PROTO=UDP SPT=15536 DPT=27214 LEN=33
Oct 2 15:40:25 nashik kernel: ## FW_F_BLOCK ## IN=eth0 OUT=ppp0 SRC=192.168.0.112 DST=89.39.185.77 LEN=53 TOS=0x00 PREC=0x00 TTL=127 ID=46694 PROTO=UDP SPT=15536 DPT=9634 LEN=33
Oct 2 15:40:25 nashik kernel: ## FW_F_BLOCK ## IN=eth0 OUT=ppp0 SRC=192.168.0.112 DST=75.39.22.137 LEN=53 TOS=0x00 PREC=0x00 TTL=127 ID=46695 PROTO=UDP SPT=15536 DPT=8819 LEN=33
Oct 2 15:40:34 nashik kernel: ## FW_I_BLOCK ## IN=ppp0 OUT= MAC= SRC=203.197.114.21 DST=59.95.54.252 LEN=48 TOS=0x00 PREC=0x00 TTL=57 ID=0 DF PROTO=TCP SPT=80 DPT=1438 WINDOW=5840 RES=0x00 ACK SYN URGP=0
Oct 2 15:40:35 nashik kernel: ## FW_I_BLOCK ## IN=ppp0 OUT= MAC= SRC=203.200.85.168 DST=59.95.54.252 LEN=48 TOS=0x00 PREC=0x00 TTL=57 ID=0 DF PROTO=TCP SPT=80 DPT=2327 WINDOW=5840 RES=0x00 ACK SYN URGP=0
Oct 2 15:40:36 nashik kernel: ## FW_I_BLOCK ## IN=ppp0 OUT= MAC= SRC=217.163.21.31 DST=59.95.54.252 LEN=1492 TOS=0x00 PREC=0x00 TTL=51 ID=42717 PROTO=TCP SPT=80 DPT=2328 WINDOW=8001 RES=0x00 ACK URGP=0
Oct 2 15:41:01 nashik crond(pam_unix)[3293]: session opened for user root by (uid=0)

====================================================================


Also I'm printing here my ifconfig output, -

===============================================
eth0 Link encap:Ethernet HWaddr 00:134:19:CE:37
inet addr:192.168.0.254 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:135663 errors:0 dropped:0 overruns:0 frame:0
TX packets:139336 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
Interrupt:5 Base address:0xe400

eth1 Link encap:Ethernet HWaddr 00:08:A1:78:26:A6
inet addr:192.168.1.10 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:200113 errors:0 dropped:0 overruns:0 frame:0
TX packets:103677 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
Interrupt:11 Base address:0xe000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:44691 errors:0 dropped:0 overruns:0 frame:0
TX packets:44691 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0

ppp0 Link encap:Point-to-Point Protocol
inet addr:59.95.27.221 P-t-P:59.96.0.1 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:199370 errors:0 dropped:0 overruns:0 frame:0
TX packets:102927 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3

===============================================


Please help me out to develop the VPN server access through the firewall.

Thanks.

Regards,
Ashwin
# 4  
Old 10-02-2008
Again, I would highly recommend you try OpenVPN. The tutorials are really good and it uses SSL instead of PPTP.
# 5  
Old 10-03-2008
hi aswhin,

what seems to be the problem?
it seems you dont have a VPN server running yet?
that iptables log shows us nothing except reguler bad traffic - but not VPN-specific.
was it PPTP or OpenVPN?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

VPN issue on Linux:

I was using PureVPN (with openvpn) on my windows machines and thought I'd try setting that up on linux mint 19.1 (xfce 32 bit). I followed complete installation process given on their website and all was working fine until I had to move the renamed config file into the openvpn folder. ... (2 Replies)
Discussion started by: ericaustin
2 Replies

2. How to Post in the The UNIX and Linux Forums

Copying , renaming the file from windox box and ftp to Linux box

Hello my dear friends, Two file are auto generated from mon - fri at different directories on same windows box.Every day i have to copy the file, rename it (specific name)and ftp it to linux box specified directory. is it possible to automate this process,If yes this has to be done from windows... (1 Reply)
Discussion started by: umesh yadav
1 Replies

3. Red Hat

How to access redhat Linux box graphically from windows box?

Hi I have a linux box and need to access from windows graphically # uname -a Linux pc-l416116 2.6.18-155.el5 #1 SMP Fri Jun 19 17:06:47 EDT 2009 i686 i686 i386 GNU/Linux What components do I need to install on Linux and windows to do that? TIA (6 Replies)
Discussion started by: magnus29
6 Replies

4. UNIX for Dummies Questions & Answers

Mounting Linux box to Linux box

Hi, I've been able to mount my linux box to a windows machine, but I can't seem to mount my linux box to another linux box I have. (I know I could scp, but for other reasons I need to do it this way) Samba is installed. Here is an example where I mount to a Win machine.--> works fine mount... (12 Replies)
Discussion started by: jdilts
12 Replies

5. UNIX for Dummies Questions & Answers

Unix box access via VPN

Hi, I have a unix box on my network IP: 10.10.40.253 I believe the firewall is not letting me have access to it when I come in via VPN. The VPN appears to the unix box as 10.10.20.xxx. Any help on how to solve this will be appreciated... Thanks in advance Regards (0 Replies)
Discussion started by: annybase
0 Replies

6. Linux

How to find remote Linux box login account without login in to that box?

Hi, How to find remote Linux box login account without login in to that box? I don't have login account at my remote Linux box. But I need who are all having login account. How do I findout? Thanks, --Muthu. (3 Replies)
Discussion started by: Muthuselvan
3 Replies

7. Shell Programming and Scripting

Script to Reboot a linux box from a windows box

HI All, I need a script to reboot a linux box from a windows box. The script needs to run automatically whenever a sitescope alerts with an error message. Have searched for this in the forums, but could not get something relative. Pls. let me know the various alternatives we have to do... (2 Replies)
Discussion started by: Crazy_murli
2 Replies

8. UNIX for Advanced & Expert Users

VPN client (windows Box),and Server (Unix Box)

If I want to access unix box via VPN tunnel,from windows box. What sould I configure on the windows client PC, and what should I enable on the Unix Server box ? I am using Solaris V10 intel platform, and I am using windows XP, and 2003 for client (0 Replies)
Discussion started by: zillah
0 Replies

9. UNIX for Advanced & Expert Users

Windows/Linux VPN

I was wondering whether any of you have any idea what VPN server software out there will be able to connect *SEAMLESSLY* to a Windows 2000/XP client? In order for this to really work, I need it to work "out of the box" i.e. no additional software to install on the Windows 2k side of it all. I'm... (3 Replies)
Discussion started by: cerberusofhnsg
3 Replies

10. Cybersecurity

VPN client for linux?...

I'm looking for an open source VPN client that I can set up on RedHat 7.1. Any suggestion? Thanks in advance. VJ :) (3 Replies)
Discussion started by: vancouver_joe
3 Replies
Login or Register to Ask a Question