Page 1 of 1

pptp + lan

Posted: Fri Mar 15, 2013 4:25 am
by neo_u
Hi to all.
I installed PPTP server on my router (TP-liNK wr941ND in case if model is important). But my PPTP client don't see internal network.
I added custom firewall rules, however I don't see LAN network when I'm connected via PPTP.
Maybe I need to do some additional steps?

Current firewall rules:

Code: Select all

# This file is interpreted as shell script.
# Put your custom iptables rules here, they will
# be executed with each firewall (re-)start.
iptables    -A input_wan -p tcp --dport 1723 -j ACCEPT
iptables    -A input_wan -p gre -j ACCEPT

iptables -A input_rule -i ppp+ -j ACCEPT
iptables -A forwarding_rule -i ppp+ -j ACCEPT
iptables -A forwarding_rule -o ppp+ -j ACCEPT
iptables -A output_rule -o ppp+ -j ACCEPT
I also tried to add this rules, but no luck

Code: Select all

iptables -A forwarding_rule -i ppp+ -o br-lan -d 192.168.1.0/24 -j ACCEPT
iptables -A forwarding_rule -i br-lan -o ppp+ -d 192.168.0.1/24 -j ACCEPT
Thanks in advance.

Re: pptp + lan

Posted: Fri Mar 15, 2013 8:32 am
by neo_u
Thanks.

Question is closed.

Code: Select all

ip route add 192.168.0.0/24 dev br-lan src 192.168.0.1

- resolved my problem.