Portál AbcLinuxu, 8. května 2025 02:43
192.168.1.1
a VPN IP 10.0.11.55
. PC k nemu pripojene maji IP 192.168.1.2
atd. Na jeho fw mam povoleno:
# Enable clients behind the router to access the machines in VPN network iptables -I POSTROUTING -t nat -o tap0 -j MASQUERADE # Enable the machines in the VPN network to access the router iptables -I INPUT -t filter -i tap0 -j ACCEPTa na serveru, ktery ma IP
10.0.10.1
a VPN 10.0.11.1
(sit 10.0.0.0/24
a VPN 10.0.11.0/24
) mam routu ip route add 192.168.1.0/24 via 10.0.11.55
.
Ze serveru (10.0.10.1
) pingnu na 192.168.1.1
, ale uz ne na PC za nim 192.168.1.2
atd.
Predpokladam, ze na tom routeru (dd-wrt) musim neco jeste povolit. Ale co?
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.