help forward port (VPN)

Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking
Author Message
My20
DD-WRT Novice


Joined: 02 Feb 2013
Posts: 32

PostPosted: Thu Feb 28, 2013 22:03    Post subject: help forward port (VPN) Reply with quote
Run VPN and is ok.
Router 1043 WAN bridge another route modem PPOE.
But cannot open port for lan/wlan pc

# IP ROUTE
0.0.0.0/1 via xx.xxx.91.41 dev tun0
default via ggg.gg.ggg.229 dev ppp0
xx.xxx.91.1 via xx.xxx.91.41 dev tun0
xx.xxx.91.41 dev tun0 proto kernel scope link src xx.xxx.91.42
127.0.0.0/8 dev lo scope link
128.0.0.0/1 via xx.xxx.91.41 dev tun0
bbb.bbb.0.0/16 dev br0 proto kernel scope link src bbb.bbb.255.1
192.168.1.0/24 dev br0 proto kernel scope link src 192.168.1.1
ggg.gg.ggg.229 dev ppp0 proto kernel scope link src ISP IP.34
zzz.z.208.91 via ggg.gg.ggg.229 dev ppp0

# FIREWALL
iptables -I FORWARD -i br0 -o vlan1 -j ACCEPT
iptables -I FORWARD -i br0 -o vlan2 -j ACCEPT
iptables -I FORWARD -i br0 -o tun0 -j ACCEPT
iptables -I FORWARD -i tun0 -o br0 -j ACCEPT
iptables -I INPUT -i tun0 -j logaccept
iptables -I INPUT -p udp --dport 1194 -j logaccept
iptables -t nat -A POSTROUTING -o tun0 -j MASQUERADE

# IN WEB
FORWARD PORT = nothing

# TELNET ROUTER
iptables -t nat -I PREROUTING -p udp -d IP VPN --dport 6500 -j DNAT --to 192.168.1.IP:6500

# iptables -t nat -L
ALL my FORWARD PORT is over provider ISP IS OK OR NOT
DNAT udp -- anywhere bl20-TTT-115.dsl.PROVIDER.COM udp dpt:6500 to:192.168.1.IP

ALL PORTS CLOSE
Nothing Work

help
Sponsor
My20
DD-WRT Novice


Joined: 02 Feb 2013
Posts: 32

PostPosted: Fri Mar 01, 2013 16:37    Post subject: Reply with quote
default route:
default via xxx.xxx.169.229 dev ppp0
127.0.0.0/8 dev lo scope link
xxx.xxx.0.0/16 dev br0 proto kernel scope link src xxx.xxx.255.1
192.168.1.0/24 dev br0 proto kernel scope link src 192.168.1.1
xxx.xxx.169.229 dev ppp0 proto kernel scope link src ISPIP

with vpn
0.0.0.0/1 via 10.208.91.41 dev tun0
default via xxx.xxx.169.229 dev ppp0
10.208.91.1 via 10.208.91.41 dev tun0
10.208.91.41 dev tun0 proto kernel scope link src 10.208.91.42
127.0.0.0/8 dev lo scope link
128.0.0.0/1 via 10.208.91.41 dev tun0
xxx.xxx.0.0/16 dev br0 proto kernel scope link src xxx.xxx.255.1
192.168.1.0/24 dev br0 proto kernel scope link src 192.168.1.1
xxx.xxx.169.229 dev ppp0 proto kernel scope link src ISPIP
212.7.208.91 via xxx.xxx.169.229 dev ppp0

startup
push "route 192.168.1.0 255.255.255.0"
push "route 10.208.91.0 255.255.255.0"
push "dhcp-option DNS 10.208.91.0"
server 10.208.91.1 255.255.255.0
...vpn config

what is wrong
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum