Port forwarding not working build18024

Post new topic   Reply to topic    DD-WRT Forum Index -> Ralink SoC based Hardware
Goto page Previous  1, 2, 3  Next
Author Message
mrdolphin
DD-WRT Novice


Joined: 13 Nov 2011
Posts: 1

PostPosted: Sun Aug 26, 2012 1:07    Post subject: Reply with quote
mojud wrote:
...
iptables -t nat -A POSTROUTING -j MASQUERADE
...


All of the sudden was not able to forward any ports. UDP or TCP.

This command worked for me.

Firmware: DD-WRT v24-sp2 (04/13/11) std-usb-nas
Linksys E3000
Sponsor
Andyreas
DD-WRT Novice


Joined: 23 Sep 2012
Posts: 1

PostPosted: Sun Sep 23, 2012 8:27    Post subject: Not sure if this helps Reply with quote
Just wanted to share the simple fix I had to a similar problem. I still don't understand how this is connected but after restarting my dd-wrt box (which made it reset itself to factory defaults) I decided to upgrade it to last "stable 14929" release. I upgraded it and added the port forwards. They didnt work. Nothing else was changed on my network and I got all clueless. I finally figured out that upgrading the router made Win 2003 Server firewall starting to work as intended, hence i had to add the ports there too. Why the old routerfirmware bypassed this I have no clue too.
DancesWithWords
DD-WRT Novice


Joined: 29 Sep 2012
Posts: 3

PostPosted: Thu Oct 11, 2012 15:52    Post subject: Reply with quote
Did not work for me. V. 19342

Trying get my website faintfuzzies.ca to work on port 80. It really sucks.
nze
DD-WRT Novice


Joined: 03 Nov 2012
Posts: 6

PostPosted: Sun Nov 18, 2012 14:09    Post subject: Reply with quote
I had issues with port forwarding as well with my Buffalo WHR-HP-G300N ( DD-WRT v24SP2-MULTI (06/03/12) std - build 19154 ). It just would not work. With the command posted above, it solved everything! Thanks alot!
aberas
DD-WRT Novice


Joined: 05 Nov 2006
Posts: 26

PostPosted: Fri Nov 30, 2012 16:47    Post subject: Cisco e4200 Reply with quote
Thank you very much! Worked perfectly on my Cisco e4200 build (BS build 19519).
siyman
DD-WRT Novice


Joined: 01 Oct 2008
Posts: 14

PostPosted: Sat Dec 01, 2012 18:48    Post subject: Reply with quote
Thx, now I can use my raspberry pi as a webserver/owncloud.

Works on DD-WRT v24-sp2 (11/21/10) std - build 15778 on Dlink-DIR615 rev d.
Drizzt81
DD-WRT Novice


Joined: 01 Jul 2006
Posts: 39

PostPosted: Thu Dec 13, 2012 13:32    Post subject: Reply with quote
mojud wrote:
Ok, found the solution:

In the Control Panel click on "Administration" then on "Commands". Copy and paste this inside the Commands Sheel:

iptables -t nat -A POSTROUTING -j MASQUERADE

Click on "Save Firewall" and then "Run Commands"


Thanks for this, saved me tons of headaches!
tridy
DD-WRT Novice


Joined: 16 Jan 2013
Posts: 4

PostPosted: Wed Jan 16, 2013 21:48    Post subject: Reply with quote
mojud wrote:
Ok, found the solution:

In the Control Panel click on "Administration" then on "Commands". Copy and paste this inside the Commands Sheel:

iptables -t nat -A POSTROUTING -j MASQUERADE

Click on "Save Firewall" and then "Run Commands"


Thanks worked great for me:

Router Model: Linksys WRT320N
Firmware Version: DD-WRT v24-sp2 (05/21/10) mini - build 14471M NEWD-2 K2.6 Eko
jm77
DD-WRT Novice


Joined: 25 Jul 2011
Posts: 10

PostPosted: Sun Mar 31, 2013 5:42    Post subject: Reply with quote
Just wanted to drop in and confirm this works on my Linksys WRT610N v1 running DD-WRT v24-sp2 (04/07/12) mega.

Thanks so much for posting this fix!

edit: edit: running http://www.desipro.de/ddwrt r20805, and it seems this fix is not required.

_________________
WHR-G300N/dd-wrt V24-preSP2 (retired)
Rosewill RNX-EasyN4 BrainSlayer-V24-preSP2/Senao-ESR9752SC r17201 (retired)
Linksys WRT160N-RMv3 Tomato (retired)
Linksys WRT610N v1, dd-wrt.v24-18946_NEWD-2_K2.6_mega (retired)
Netgear R6700 (current) - ???
skunkworks
DD-WRT Novice


Joined: 09 Feb 2011
Posts: 4

PostPosted: Thu Apr 18, 2013 22:33    Post subject: Reply with quote
This seemed to work for me...

I am wonder what that is actually doing? Can someone explain it or point to some info?

(I was getting very intermittent rdp connections. like 1 out of 20 or more)

Thanks
sam
sroutier
DD-WRT Novice


Joined: 29 Apr 2013
Posts: 1

PostPosted: Mon Apr 29, 2013 22:20    Post subject: Reply with quote
Same behaviour here on a Buffalo WZR-600DHP running the latest DD-WRT v24SP2-MULTI (11/04/12) std (SVN revision 20180).
Can somebody explain what the problem is and why the command above fixes it?
Is this a known bug?
Will it get fixed soon?

Glad that it worked but holy crap, I never had so much trouble setting port forwarding...
chrismallia
DD-WRT Novice


Joined: 29 May 2013
Posts: 27

PostPosted: Fri May 31, 2013 18:14    Post subject: Reply with quote
iptables -t nat -A POSTROUTING -j MASQUERADE

worked great I have v24 sp2 last update 2013 on a tp link. thanks
derf
DD-WRT Novice


Joined: 06 Jul 2013
Posts: 1

PostPosted: Sat Jul 06, 2013 16:17    Post subject: Reply with quote
The solution for me was so simple I registered to share it with you all.

I just upgraded my Netgear WNR3500v2 from 14896 to 21061 and I was wondering why port forwarding didn't work anymore.

I tried the given command, but it didn't work. Then, instead of just clicking Save in the Port Forwarding page, I clicked Apply Settings and then it worked, simple as that.
roniez
DD-WRT Novice


Joined: 23 Jul 2013
Posts: 1

PostPosted: Tue Jul 23, 2013 12:49    Post subject: Reply with quote
This is a terrible solution to be honest.
This makes all incoming connections look like they are coming from the router it self.

IE.

TS3 server running on ip 192.168.1.69 on port 9987
You add port 9987 to port forwarding towards ip 192.168.1.69.

By default this will not work for some reason port forwarding is not forwarding connections correctly

If you use the following command "iptables -t nat -A POSTROUTING -j MASQUERADE" the portforwarding will work.
But if you look on a client connected to the TS3 server they will list as client ip "192.168.1.1:xxxxx"

This means that you will not see the actual ip of the connected client.
There must be a better way to fix the port forwarding.

FW used is DD-WRT v24-sp2 (07/20/12) std
(SVN revision 19519)

Also experianced on DD-WRT v24SP2- (03/25/13) std
(SVN revision 21061)
alessio2
DD-WRT Novice


Joined: 08 Jan 2009
Posts: 4

PostPosted: Sun Aug 04, 2013 23:32    Post subject: Reply with quote
mojud wrote:
Ok, found the solution:

In the Control Panel click on "Administration" then on "Commands". Copy and paste this inside the Commands Sheel:

iptables -t nat -A POSTROUTING -j MASQUERADE

Click on "Save Firewall" and then "Run Commands"

Saved my day.
Using build 19545 and this command fixed Port forwarding issue for me.
Thanks a lot for sharing.
Goto page Previous  1, 2, 3  Next Display posts from previous:    Page 2 of 3
Post new topic   Reply to topic    DD-WRT Forum Index -> Ralink SoC based Hardware 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