pptp server的問題 - Linux

By Ina
at 2014-04-20T16:16
at 2014-04-20T16:16
Table of Contents
ubuntu 14.04
server透過中華ADSL連上internet(非固定制固定IP)
google了好幾種教學,嘗試架pptpd
最後結果都是連的上,可是沒有回應(client端可以傳封包出去,但收不到封包)
實在不清楚是哪個環節出錯了
===========
以下是設定
pptpd part
/etc/pptpd.conf
localip 10.99.99.99
remoteip 10.99.99.100-120
/etc/ppp/pptpd-options
ms-dns 8.8.8.8
ms-dns 8.8.4.4
sysctl part
/etc/sysctl.conf
net.ipv4.ip_forward=1
net.ipv6.conf.all.forwarding=1
iptables part
iptables -A INPUT -p tcp --dport 1723 -j ACCEPT
iptables -A INPUT -p gre -j ACCEPT
iptables -t nat -A POSTROUTING -s 10.99.99.0/24 -o p5p1 -j MASQUERADE
--
server透過中華ADSL連上internet(非固定制固定IP)
google了好幾種教學,嘗試架pptpd
最後結果都是連的上,可是沒有回應(client端可以傳封包出去,但收不到封包)
實在不清楚是哪個環節出錯了
===========
以下是設定
pptpd part
/etc/pptpd.conf
localip 10.99.99.99
remoteip 10.99.99.100-120
/etc/ppp/pptpd-options
ms-dns 8.8.8.8
ms-dns 8.8.4.4
sysctl part
/etc/sysctl.conf
net.ipv4.ip_forward=1
net.ipv6.conf.all.forwarding=1
iptables part
iptables -A INPUT -p tcp --dport 1723 -j ACCEPT
iptables -A INPUT -p gre -j ACCEPT
iptables -t nat -A POSTROUTING -s 10.99.99.0/24 -o p5p1 -j MASQUERADE
--
Tags:
Linux
All Comments

By Yuri
at 2014-04-20T21:23
at 2014-04-20T21:23

By Puput
at 2014-04-24T14:21
at 2014-04-24T14:21

By Kelly
at 2014-04-28T08:13
at 2014-04-28T08:13

By Lucy
at 2014-04-28T14:23
at 2014-04-28T14:23

By Zenobia
at 2014-05-02T22:59
at 2014-05-02T22:59

By Skylar Davis
at 2014-05-06T02:52
at 2014-05-06T02:52
Related Posts
Lubuntu 14.04無法安裝g++

By Belly
at 2014-04-19T14:00
at 2014-04-19T14:00
Ubuntu 14.04無法安裝Cadsoft Eagle 6.5

By Linda
at 2014-04-19T01:02
at 2014-04-19T01:02
Port Forwarding問題

By Catherine
at 2014-04-18T19:41
at 2014-04-18T19:41
Ubuntu 14.04 (Trusty Tahr) released

By Bennie
at 2014-04-18T11:06
at 2014-04-18T11:06
Canonical 在臺灣的工作機會

By Blanche
at 2014-04-18T10:57
at 2014-04-18T10:57