Click to See Complete Forum and Search --> : vpn through linux gateway


Gaccm
01-07-2002, 06:05 PM
I have this vpn software that connects to the university network for when i'm home. The problem is that i can't seem to get it to work through my linux gateway (if my 2k box [which the software runs on] is on a modem, or any kind of direct connection, it works). I have no idea where to begin (i know squat about encryption). The guy at the university says that i must have a linksys router/hub and sharing a connection through a computer just can't work. I really doubt this but i don't know. Hopefully someone here does.

jumpedintothefire
01-07-2002, 08:41 PM
http://www.impsec.org/linux/masquerade/ip_masq_vpn.html

Connect up with the vpn client in windows and do a netstat -na at a dos prompt, post the results and I'll tell you the type of client.

Gaccm
01-08-2002, 01:50 AM
k, i did it:

Proto Local Address Foreign Address State
TCP 0.0.0.0:110 0.0.0.0:0 LISTENING
TCP 0.0.0.0:135 0.0.0.0:0 LISTENING
TCP 0.0.0.0:445 0.0.0.0:0 LISTENING
TCP 0.0.0.0:1025 0.0.0.0:0 LISTENING
TCP 0.0.0.0:1027 0.0.0.0:0 LISTENING
TCP 0.0.0.0:3104 0.0.0.0:0 LISTENING
TCP 0.0.0.0:3106 0.0.0.0:0 LISTENING
TCP 0.0.0.0:8431 0.0.0.0:0 LISTENING
TCP 64.54.251.77:139 0.0.0.0:0 LISTENING
TCP 64.54.251.77:3104 63.236.73.208:80 ESTABLISHED
TCP 64.54.251.77:3106 63.236.18.117:80 ESTABLISHED
TCP 192.168.1.2:139 0.0.0.0:0 LISTENING
TCP 192.168.1.2:3054 63.236.18.117:80 TIME_WAIT
TCP 192.168.1.2:3068 168.143.176.50:80 TIME_WAIT
TCP 192.168.1.2:3069 168.143.176.50:80 TIME_WAIT
TCP 192.168.1.2:3070 168.143.176.50:80 TIME_WAIT
TCP 192.168.1.2:3071 168.143.176.50:80 TIME_WAIT
TCP 206.170.3.110:139 0.0.0.0:0 LISTENING
UDP 0.0.0.0:135 *:*
UDP 0.0.0.0:445 *:*
UDP 0.0.0.0:500 *:*
UDP 0.0.0.0:1026 *:*
UDP 64.54.251.77:137 *:*
UDP 64.54.251.77:138 *:*
UDP 127.0.0.1:3100 *:*
UDP 192.168.1.2:137 *:*
UDP 192.168.1.2:138 *:*
UDP 206.170.3.110:137 *:*
UDP 206.170.3.110:138 *:*

192.168.1.2 = my internal ip
64.54.251.77 = my external ip

jumpedintothefire
01-08-2002, 08:55 AM
Did you start up the VPN? If you did it, it looks like it is running over port 80?? Got a name for this vpn software?

[ 08 January 2002: Message edited by: jumpedintothefire ]

jumpedintothefire
01-08-2002, 08:15 PM
Sorry, missed it earlier 0.0.0.0:500 udp that would suggest that is using ipsec.