pptp + lan

Report wireless and/or network connectivity problems in this forum.

Moderator: Moderators

Post Reply
neo_u
Posts: 2
Joined: Fri Mar 15, 2013 4:16 am

pptp + lan

Post 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.

neo_u
Posts: 2
Joined: Fri Mar 15, 2013 4:16 am

Re: pptp + lan

Post 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.

Post Reply