Ahoj,
vím, že se to tu již řešilo 150x a jinde milionkrát. Vezmu to tedy rychle a fakticky.
Mám Turris Omnia
potřebuji na něm zprovoznit pptpd
mám nainstalovány a povoleny všechny potřebné kernel moduly
/etc/sysctl.conf
net.netfilter.nf_conntrack_helper=1
progrepovaný lsmod
gre 16384 2 pptp,ip_gre
ip_gre 24576 0
ip_tunnel 24576 2 ip_gre,sit
nf_conntrack 77824 37 sch_cake,nf_nat_pptp,nf_conntrack_pptp,nf_conntrack_ipv6,ipt_MASQUERADE,xt_state,xt_nat,xt_helper,xt_conntrack,xt_connmark,xt_connlimit,xt_connbytes,xt_REDIRECT,xt_CT,nf_nat_tftp,nf_nat_snmp_basic,nf_nat_sip,nf_nat_masquerade_ipv4,nf_nat_irc,nf_conntrack_ipv4,nf_nat_ipv4,nf_nat_h323,nf_nat_ftp,nf_nat_amanda,nf_nat,nf_flow_table,nf_conntrack_tftp,nf_conntrack_snmp,nf_conntrack_sip,nf_conntrack_rtcache,nf_conntrack_proto_gre,nf_conntrack_netlink,nf_conntrack_irc,nf_conntrack_h323,nf_conntrack_ftp,nf_conntrack_broadcast,nf_conntrack_amanda
nf_conntrack_pptp 16384 3 nf_nat_pptp
nf_conntrack_proto_gre 16384 1 nf_conntrack_pptp
nf_nat 24576 12 nf_nat_pptp,xt_nat,nf_nat_tftp,nf_nat_sip,nf_nat_redirect,nf_nat_proto_gre,nf_nat_masquerade_ipv4,nf_nat_irc,nf_nat_ipv4,nf_nat_h323,nf_nat_ftp,nf_nat_amanda
nf_nat_pptp 16384 0
nf_nat_proto_gre 16384 1 nf_nat_pptp
ppp_generic 32768 5 pppoe,ppp_async,pptp,pppox,ppp_mppe
pppox 16384 2 pppoe,pptp
pptp 28672 0
sch_ingress 16384 0
V pptdp konfiguraci si myslím, že není problém v případě potřeby dodám
ve firewallu mám
Při připojení Windows10 klienta mi hlásí, že spojení bylo ukončeno ze strany serveru
V logu pptpd na turrisu mám
Mar 16 17:01:28 turris pptpd[7801]: MGR: Maximum of 100 connections reduced to 6, not enough IP addresses given
Mar 16 17:01:28 turris pptpd[7803]: MGR: Manager process started
Mar 16 17:01:28 turris pptpd[7803]: MGR: Maximum of 6 connections available
Mar 16 17:01:35 turris pptpd[7811]: MGR: Launching /usr/sbin/pptpctrl to handle client
Mar 16 17:01:35 turris pptpd[7811]: CTRL: local address = 192.168.0.1
Mar 16 17:01:35 turris pptpd[7811]: CTRL: remote address = 192.168.0.220
Mar 16 17:01:35 turris pptpd[7811]: CTRL: pppd speed = 115200
Mar 16 17:01:35 turris pptpd[7811]: CTRL: Client XXX.XXX.XXX.XXX control connection started
Mar 16 17:01:35 turris pptpd[7811]: CTRL: Received PPTP Control Message (type: 1)
Mar 16 17:01:35 turris pptpd[7811]: CTRL: Made a START CTRL CONN RPLY packet
Mar 16 17:01:35 turris pptpd[7811]: CTRL: I wrote 156 bytes to the client.
Mar 16 17:01:35 turris pptpd[7811]: CTRL: Sent packet to client
Mar 16 17:01:35 turris pptpd[7811]: CTRL: Received PPTP Control Message (type: 7)
Mar 16 17:01:35 turris pptpd[7811]: CTRL: Set parameters to 100000000 maxbps, 64 window size
Mar 16 17:01:35 turris pptpd[7811]: CTRL: Made a OUT CALL RPLY packet
Mar 16 17:01:35 turris pptpd[7811]: CTRL: Starting call (launching pppd, opening GRE)
Mar 16 17:01:35 turris pptpd[7811]: CTRL: pty_fd = 6
Mar 16 17:01:35 turris pptpd[7811]: CTRL: tty_fd = 7
Mar 16 17:01:35 turris pptpd[7811]: CTRL: I wrote 32 bytes to the client.
Mar 16 17:01:35 turris pptpd[7811]: CTRL: Sent packet to client
Mar 16 17:01:35 turris pptpd[7812]: CTRL (PPPD Launcher): program binary = /usr/sbin/pppd
Mar 16 17:01:35 turris pptpd[7812]: CTRL (PPPD Launcher): local address = 192.168.0.1
Mar 16 17:01:35 turris pptpd[7812]: CTRL (PPPD Launcher): remote address = 192.168.0.220
Mar 16 17:01:35 turris pptpd[7811]: CTRL: Received PPTP Control Message (type: 15)
Mar 16 17:01:35 turris pptpd[7811]: CTRL: Got a SET LINK INFO packet with standard ACCMs
Mar 16 17:01:35 turris pppd[7812]: pppd 2.4.7 started by root, uid 0
Mar 16 17:01:35 turris pppd[7812]: Using interface ppp0
Mar 16 17:01:35 turris pppd[7812]: Connect: ppp0 <–> /dev/pts/1
Mar 16 17:01:35 turris pptpd[7811]: GRE: accepting packet #0
Mar 16 17:01:35 turris pptpd[7811]: GRE: accepting packet #1
Mar 16 17:01:35 turris pptpd[7811]: GRE: accepting packet #2
Mar 16 17:01:35 turris pptpd[7811]: GRE: accepting packet #3
Mar 16 17:01:35 turris pptpd[7811]: GRE: accepting packet #4
Mar 16 17:01:35 turris pptpd[7811]: GRE: accepting packet #5
Mar 16 17:01:35 turris pptpd[7811]: GRE: accepting packet #6
Mar 16 17:01:35 turris pptpd[7811]: GRE: accepting packet #7
Mar 16 17:01:35 turris pptpd[7811]: GRE: accepting packet #8
Mar 16 17:01:35 turris pptpd[7811]: GRE: accepting packet #9
Mar 16 17:01:35 turris pptpd[7811]: GRE: accepting packet #10
Mar 16 17:01:35 turris pptpd[7811]: GRE: accepting packet #11
Mar 16 17:01:35 turris pptpd[7811]: GRE: accepting packet #12
Mar 16 17:01:35 turris pptpd[7811]: CTRL: Received PPTP Control Message (type: 12)
Mar 16 17:01:35 turris pptpd[7811]: CTRL: Made a CALL DISCONNECT RPLY packet
Mar 16 17:01:35 turris pptpd[7811]: CTRL: Received CALL CLR request (closing call)
Mar 16 17:01:35 turris pptpd[7811]: CTRL: Reaping child PPP[7812]
Mar 16 17:01:35 turris pppd[7812]: Modem hangup
Mar 16 17:01:35 turris pppd[7812]: Connection terminated.
Mar 16 17:01:35 turris pppd[7812]: Exit.
Mar 16 17:01:35 turris pptpd[7811]: CTRL: Client XXX.XXX.XXX.XXX control connection finished
Mar 16 17:01:35 turris pptpd[7811]: CTRL: Exiting now
Mar 16 17:01:35 turris pptpd[7803]: MGR: Reaped child 7811
Zapnul jsem logování na WANu, ale neobjevilo se tam nic, co by se týkalo pptpd portu nebo GRE protokolu
Co dělám špatně?