I try to make my pf enable PPTP passthrough.
I have installed finckin and config pf:
When I try to connect to a PPTP server in Windows, the Connecting to vpn server windows will show up:
When establishing the connect, pf show the connect at 1723 port and gre proto looks like the protocol can talk to the PPTP server.
I have tested with the PPTP server by using a normal home router with PPTP passthrough on, it can establish the connection.
What config am I missing?
I saw on the internet it look like the finckin works perfect with pf.
I have installed finckin and config pf:
Code:
rdr on $int_if proto tcp from any to any port pptp -> 127.0.0.1 port pptp
rdr on $int_if proto gre from any to any -> 127.0.0.1
pass in quick proto tcp from any to any port pptp flags S/SA keep state
pass out quick proto tcp from any to any port pptp flags S/SA keep state
pass in quick proto gre from any to any
pass out quick proto gre from any to any
When I try to connect to a PPTP server in Windows, the Connecting to vpn server windows will show up:
Code:
|
V
Verifying user name and password
|
V
Wait about 30 seconds ...
|
V
Disconnected
Error 619: A connection to the remote computer could not be established.so the port used for this connection was closed .........
When establishing the connect, pf show the connect at 1723 port and gre proto looks like the protocol can talk to the PPTP server.
Code:
gate2# pfctl -ss | grep gre
all gre 1.36.xxx.xxx -> 58.153.xxx.xxx MULTIPLE:MULTIPLE
all gre 58.153.xxx.xxx -> 192.168.10.100 MULTIPLE:MULTIPLE
all gre 192.168.10.100 -> 58.153.xxx.xxx SINGLE:NO_TRAFFIC
gate2# pfctl -ss | grep :1723
all tcp 127.0.0.1:1723 <- 58.153.xxx.xxx:1723 <- 192.168.10.100:59323 ESTABLISHED:ESTABLISHED
all tcp 1.36.xxx.xxx:62339 -> 58.153.xxx.xxx:1723 ESTABLISHED:ESTABLISHED
I have tested with the PPTP server by using a normal home router with PPTP passthrough on, it can establish the connection.
What config am I missing?
I saw on the internet it look like the finckin works perfect with pf.