www.centos.org Forum Index CentOS 6 - Networking Support PPTP Server Not Routing Internet
|
Bottom Previous Topic Next Topic |
| |
|
|
|---|
| Poster | Thread |
|---|
|
Re: PPTP Server Not Routing Internet | #2 |
|
|---|---|---|---|
|
Newbie
![]()
Joined: 2012/1/30
From
Posts: 6
|
Edit 2: I disabled IP Tables and relaunched PPTP server, same issue, great connectivity to RDP, Skype, things already running once VPN launches but no web pages.
|
||
Posted on: 2012/2/17 5:26
|
|||
|
Re: PPTP Server Not Routing Internet | #3 |
|
|---|---|---|---|
|
Moderator
![]()
Joined: 2006/12/13
From Tidewater, Virginia, North America
Posts: 18773
|
If having no problems with CentOS-5 then perhaps your other thread can be marked [SOLVED] per the guidance in Readme First.
Very difficult to guess what's going on without some hard data. Please provide more information about your system by running "./getinfo.sh network" and showing us the output file. |
||
|
_________________
Phil Recommended reading: FAQ & Readme first ; Search hint: google "your topic site:centos.org"; Smart Questions |
|||
Posted on: 2012/2/17 18:16
|
|||
|
Re: PPTP Server Not Routing Internet | #4 |
|
|---|---|---|---|
|
Newbie
![]()
Joined: 2012/2/18
From
Posts: 6
|
Hi all,
I have installed pptpd on centOS 6.2 and I have a similar issue: The client can connect to my VPN server but the internet will not work through. Also the client cannot access or ping the other computers from my network except the VPN server. Network configuration Wireless router that act as a DHCP server and share the internet connection to all the computers from my network(3 Laptops an 4 virtual using Virtual BOX) The server is also a virtual PC (the network settings for Virtual Box is bridged, so the IP to the server is assign by the router (has a reserved IP using the MAC)) router IP 192.168.19.1 other computers IPs 192.168.19.10-100(assing via DHCP by the router(every PC has its own reserved IP)) CentOS server: eth0 IP: 192.168.19.103 netmask 255.255.255.0 gateway: 192.168.19.1 DNS 192.168.19.1 To install and configure the VPN server I used the information from here /etc/pptpd.conf settings localip 192.168.0.1 remoteip 192.168.0.234-238,192.168.0.245 in /etc/ppp/options.pptpd ms-dns 192.168.19.1 / also I used the google DNS and did not work the rest of the settings from the above config files are the default ones Other details that may help In the router I forwarded 1723 port to VPN server's IP(192.168.19.103) In iptables I opened 1723 port and protocol 47 (with this settings the client can connect to the VPN server) iptables command that i used iptables -A INPUT -p tcp -m tcp --dport 1723 -j ACCEPT iptables -A INPUT -p 47 -j ACCEPT changed net.ipv4.ip_forward = 1 in /etc/sysctl.conf iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE what I need is if someone can assist and explain what/how to configure the VPN server to permit internet traffic to a client and the client to be able to access the other computers from the network(192.168.19.x) |
||
Posted on: 2012/2/18 14:30
|
|||
|
Re: PPTP Server Not Routing Internet | #5 |
|
|---|---|---|---|
|
Moderator
![]()
Joined: 2006/12/13
From Tidewater, Virginia, North America
Posts: 18773
|
serox_3 - Welcome to the CentOS fora. Please see the recommended reading for new users linked in my signature.
After reading those links you should realize why you should not hijack threads as you have done. Please start a new Topic for your issue to get the attention you need, providing a link to this one if required for context. |
||
|
_________________
Phil Recommended reading: FAQ & Readme first ; Search hint: google "your topic site:centos.org"; Smart Questions |
|||
Posted on: 2012/2/18 15:17
|
|||
|
Re: PPTP Server Not Routing Internet | #6 |
|
|---|---|---|---|
|
Newbie
![]()
Joined: 2012/2/18
From
Posts: 6
|
Ok, I'll do that, I tough that if there already exist a thread with the same issue I can post in it.
If posible you may delete my posts on this thread. I will create a new one. |
||
Posted on: 2012/2/18 16:53
|
|||
|
Re: PPTP Server Not Routing Internet | #7 |
|
|---|---|---|---|
|
Moderator
![]()
Joined: 2006/12/13
From Tidewater, Virginia, North America
Posts: 18773
|
Quote:
It appears you did not read How to provide information about your system and create the getinfo.sh script. |
||
|
_________________
Phil Recommended reading: FAQ & Readme first ; Search hint: google "your topic site:centos.org"; Smart Questions |
|||
Posted on: 2012/2/19 20:45
|
|||
Top Previous Topic Next Topic |
|



Topic options
Print Topic
Threaded
Newest First
sombra84




You cannot start a new topic.
You can view topic.