Quantcast
Channel: Server Support Forum
Viewing all articles
Browse latest Browse all 7443

Verschiedene Ports mit PPTP VPN tunneln

$
0
0
Guten Abend,

da leider vom Client aus viele wichtige Ports blockiert werden, war mein Gedanke, auf einem VPS einen VPN aufzusetzen.

Daher habe ich pptpd installiert und entsprechend eingerichtet. Anschließend auch die iptables angepasst. Der (Windows-)Client connectet auch problemlos. Nur kann er dann keine Verbindung mit dem Internet aufnehmen.

Routing ist aktiviert.

Ein netstat bringt:
Code:

~# netstat -tulp | grep pptp
tcp        0      0 *:1723                  *:*                    LISTEN      26147/pptpd

Meine iptables:
Code:

~# iptables --list
Chain INPUT (policy ACCEPT)
target    prot opt source              destination
ACCEPT    gre  --  anywhere            anywhere
ACCEPT    tcp  --  anywhere            anywhere            tcp dpt:1723 state NEW
ACCEPT    gre  --  anywhere            anywhere
ACCEPT    tcp  --  anywhere            anywhere            tcp dpt:1723 state NEW
ACCEPT    gre  --  anywhere            anywhere
ACCEPT    tcp  --  anywhere            anywhere            tcp dpt:1723 state NEW

Chain FORWARD (policy ACCEPT)
target    prot opt source              destination
TCPMSS    tcp  --  192.168.1.0/24      anywhere            tcp flags:SYN,RST/SYN TCPMSS clamp to PMTU
TCPMSS    tcp  --  172.20.1.0/24        anywhere            tcp flags:SYN,RST/SYN TCPMSS clamp to PMTU
TCPMSS    tcp  --  172.20.1.0/24        anywhere            tcp flags:SYN,RST/SYN TCPMSS clamp to PMTU
TCPMSS    tcp  --  172.20.1.0/24        anywhere            tcp flags:SYN,RST/SYN TCPMSS clamp to PMTU

Für jede Hilfe wäre ich sehr dankbar.

Viewing all articles
Browse latest Browse all 7443