Port Forwarding

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


Joined: 27 Oct 2014
Posts: 1

PostPosted: Mon Oct 27, 2014 12:45    Post subject: Port Forwarding Reply with quote
Hello,

I've got an IP camera and want to get access worldwide, so I have to open port 80. The camera has a static IP (192.168.1.234)

[img]http://i.imgur.com/LrY7o4L.png?1[/img]

I'm stuck on port forwarding for a week now.
I found on internet that I had to add the following command: "

insmod ipt_mark
insmod xt_mark
iptables -t mangle -A PREROUTING -i ! `get_wanface` -d `nvram get wan_ipaddr` -j MARK --set-mark 0xd001
iptables -t nat -A POSTROUTING -m mark --mark 0xd001 -j MASQUERADE

but that doesn't seemed to help.
my router is a D-Link dir-615 with ddwrt 21061 build

conclusion:
My router won't open any port.

Can I get any help? I've been looking on many forums, but nothing seems to help.

thanks in advance,

(srry for my bad english)


Last edited by nielsstos2 on Tue Oct 28, 2014 9:45; edited 1 time in total
Sponsor
Mile-Lile
DD-WRT Guru


Joined: 24 Feb 2013
Posts: 1634
Location: Belgrade

PostPosted: Tue Oct 28, 2014 9:03    Post subject: Reply with quote
read

http://www.howtogeek.com/66214/how-to-forward-ports-on-your-router/
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