Recent content by pierredugland

  1. P

    nat-start for policy-based PORT routing

    Yes typo I just copied the last one my bad. I'm just trying to hide some p2p traffic (deluge is running on those ports) and I don't want to broadcast my static IP there. Am I misguided in thinking the above manipulation will achieve that ?
  2. P

    nat-start for policy-based PORT routing

    Damn I knew it was something stupid ! Tested the above and it shows correct redirection. Thank you so much for figuring out that PEBKAC :) So the command for outbound redirection would then be : iptables -t mangle -D PREROUTING -i br0 --src 192.168.1.23 -p tcp -m multiport --dport 8112,8113 -j...
  3. P

    nat-start for policy-based PORT routing

    Just to make sure, I tested adding a rule in the GUI to route ALL traffic from 192.168.1.23 through the VPN and it works so at least the source IP is correct. And I have specifically forwarded those ports through the GUI as well so reasonnably confident the ports are correct as well.
  4. P

    nat-start for policy-based PORT routing

    As you can see in my post above the default via 10.7.5.1 dev tun12 is back I am fairly sure that the source IP and ports are correct. How would I test protocol and/or hardware acceleration bypassing the iptables tagging ?
  5. P

    nat-start for policy-based PORT routing

    maybe create your own thread since this seems to be a different issue ?
  6. P

    nat-start for policy-based PORT routing

    Thanks again for your detailed replies. I only asked in case it was an issue to redirect the traffic. Clearly, as long as the redirection through the VPN works I don't care :) The only difference is I emptied the table again (removing the WAN default for the router and the 192.168.1.23 rule)...
  7. P

    nat-start for policy-based PORT routing

    Ahah that's why the table was empty then ! :) Thks for the dos2unix trick. I ran the script but unfortunately it didn't seem to do anything as my IP tracker still indicates my WAN IP. The output of your one liner is now : RPDB Rules 0: from all lookup local 9990: from all fwmark...
  8. P

    nat-start for policy-based PORT routing

    Thank you. I would like to route only specific ports traffic from 192.168.1.23 to the VPN, [the rest of the ports on 192.168.1.23] and [all the other devices] should run through WAN (the default as you mention). Not ALL traffic from this device. When I try to manually run the script : Do I...
  9. P

    nat-start for policy-based PORT routing

    Did your manipulation thank you for that. Stupidly thought the nat-start script took precedence over the GUI. The dropdown menu was on Policy Rules but not strict and the table below was empty. I only want to filter some ports coming from my NAS (sitting at 192.168.1.23) so I have done the...
  10. P

    nat-start for policy-based PORT routing

    Thanks for taking the time: RPDB Rules 0: from all lookup local 32766: from all lookup main 32767: from all lookup default Client ovpnc1 port 8443 tcp-client Client ovpnc2 port 8443 tcp-client 10.7.5.0/24 dev tun12 proto kernel scope link src 10.7.5.4 0.0.0.0/1 via...
  11. P

    nat-start for policy-based PORT routing

    re-upping since I have still not found a solution. Is there a better place to ask questions ? SO maybe ?
  12. P

    nat-start for policy-based PORT routing

    Hello, I have followed the instructions here : https://github.com/RMerl/asuswrt-merlin.ng/wiki/Policy-based-Port-routing-(manual-method) Here is my nat-start #!/bin/sh sleep 10 # During the boot process nat-start may run multiple times so this is required # Ensure duplicate...
  13. P

    Redirect specific PORT through VPN

    That's great thank you I will give it a try. If I want several ports included in $DELUGE_PORTS should I just create several lines or is there a syntax for multiple ports ? Just to confirm, the code you wrote above goes into the `open-vpn` script from the flawed wiki ? Thanks again for taking...
  14. P

    Redirect specific PORT through VPN

    Hi everyone, First post here. Hope you guys can help me. I have followed the instructions here (https://github.com/RMerl/asuswrt-merlin/wiki/Policy-based-routing-(manual-method)) to redirect some traffic through my VPN. The trick is I want to redirect a port and not all traffic that comes...
Back
Top