I am used to working with Cisco equipment and not in Linux so please don't bash me to hard! I have a client that is using an ASUS RT-AC66U router and recently has become non PCI compliant do to a specific port forwarding rule they use. I have already contacted the writers of the software, but they refuse to change their program to a different port. What they did offer me was to limit the port to only except traffic from their WAN IP. After doing research I found that the Merlin Firmware is able to do this but I have to set it up. here is what I have done so far.
1. installed ASUSWRT-Merlin Firmware (latest release as of today)
2. enabled JFFS
3. Formated JFFS
4. Enable SSH
5. Logged in via Putty
Now I know nothing about nothing when it comes to Linux so I don't know how to write scripts for it or how to save or anything. I do know from the research I did that the script I need to run is 'iptables -t nat -I VSERVER 3 -p tcp -m tcp -s 98.129.x.x --dport 1433 -j DNAT --to 192.168.x.x'
What I don't know how to do is... (looking for step by step instructions) write the script file and run when ever the router is rebooted.
thanks for any help that is given.
Mund!
1. installed ASUSWRT-Merlin Firmware (latest release as of today)
2. enabled JFFS
3. Formated JFFS
4. Enable SSH
5. Logged in via Putty
Now I know nothing about nothing when it comes to Linux so I don't know how to write scripts for it or how to save or anything. I do know from the research I did that the script I need to run is 'iptables -t nat -I VSERVER 3 -p tcp -m tcp -s 98.129.x.x --dport 1433 -j DNAT --to 192.168.x.x'
What I don't know how to do is... (looking for step by step instructions) write the script file and run when ever the router is rebooted.
thanks for any help that is given.
Mund!
Last edited: