Networking Forums

Networking Forums > Computer Networking > Linux Networking > Poptop - Route Question - Accessing Internet via from VPN session

Reply
Thread Tools Display Modes

Poptop - Route Question - Accessing Internet via from VPN session

 
 
John F.
Guest
Posts: n/a

 
      03-17-2006, 04:04 PM
I'm running poptop vpn server on my linux box. When I establish a
client VPN session from outside, I can access my LAN resources but
cannot get to the internet while on VPN. I'm not very proficient with
routing; do I need to add a route?

Router (Internet Gateway) 192.168.1.254
VPN linux server at 192.168.1.1 / 255.255.255.0

[root@hq ~]# tail /etc/pptpd.conf
# 4. If you give a single localIP, that's ok - all local IPs will
# be set to the given one. You MUST still give at least one
remote
# IP for each simultaneous client.
#
# (Recommended)
localip 192.168.1.1
remoteip 192.168.1.20-25
# or
#localip 192.168.0.234-238,192.168.0.245
#remoteip 192.168.1.234-238,192.168.1.245



[root@hq ~]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
192.168.1.20 * 255.255.255.255 UH 0 0 0
ppp0
192.168.1.0 * 255.255.255.0 U 0 0 0
eth0
169.254.0.0 * 255.255.0.0 U 0 0 0
eth0
default 192.168.1.254 0.0.0.0 UG 0 0 0
eth0



[root@hq ~]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:14:22:78:93:91
inet addr:192.168.1.1 Bcast:192.168.1.255
Mask:255.255.255.0
inet6 addr: fe80::214:22ff:fe78:9391/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:759527 errors:0 dropped:0 overruns:0 frame:0
TX packets:307654 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:86626225 (82.6 MiB) TX bytes:237476772 (226.4 MiB)
Base address:0xccc0 Memory:fe4e0000-fe500000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:4432035 errors:0 dropped:0 overruns:0 frame:0
TX packets:4432035 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1332519581 (1.2 GiB) TX bytes:1332519581 (1.2 GiB)

ppp0 Link encap:Point-to-Point Protocol
inet addr:192.168.1.1 P-t-P:192.168.1.20
Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1396 Metric:1
RX packets:1862 errors:0 dropped:0 overruns:0 frame:0
TX packets:1768 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:240912 (235.2 KiB) TX bytes:622611 (608.0 KiB)

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
route newbie question mackdaddy315 Linux Networking 3 08-21-2007 02:08 PM
Yet Another IP Route setup question raakjoer@gmail.com Linux Networking 3 06-12-2006 05:11 PM
Poptop question bolero92@yahoo.com Linux Networking 0 12-29-2004 02:33 AM
Route Question Dan Bent Linux Networking 4 01-30-2004 10:30 PM
linux multipath per session route alexp Linux Networking 0 08-22-2003 01:16 AM



1 2 3 4 5 6 7 8 9 10 11