silvianismo 0 Posted 04/06/2017 #!/bin/sh iptables -t nat -A POSTROUTING -o tun15 -j MASQUERADE iptables -I FORWARD -i tun15 -p udp -d 192.168.1.40 --dport 61841 -j ACCEPTiptables -I FORWARD -i tun15 -p tcp -d 192.168.1.40 --dport 61841 -j ACCEPTiptables -t nat -I PREROUTING -i tun15 -p tcp --dport 61841 -j DNAT --to-destination 192.168.1.40iptables -t nat -I PREROUTING -i tun15 -p udp --dport 61841 -j DNAT --to-destination 192.168.1.40iptables -I FORWARD -i tun15 -p udp -d 192.168.1.1 --dport 61840 -j ACCEPTiptables -I FORWARD -i tun15 -p tcp -d 192.168.1.1 --dport 61840 -j ACCEPTiptables -t nat -I PREROUTING -i tun15 -p tcp --dport 61840 -j DNAT --to-destination 192.168.1.1iptables -t nat -I PREROUTING -i tun15 -p udp --dport 61840 -j DNAT --to-destination 192.168.1.1iptables -I FORWARD -i br0 -o tun15 -j ACCEPTiptables -I FORWARD -i tun15 -o br0 -j ACCEPTiptables -I FORWARD -i br0 -o vlan1 -j DROPiptables -I INPUT -i tun15 -j REJECT whats is wrong with it.. Does he have a simple command to join all my open port to my preconfigure port on airvpn.. Thanks Quote Share this post Link to post
go558a83nk 371 Posted 04/07/2017 Is the router itself 192.168.1.1? Quote Share this post Link to post
go558a83nk 371 Posted 04/07/2017 On 4/7/2017 at 2:12 PM, silvianismo said: Yess! So what is it you're trying to accomplish? You have a server on the router you're trying to make available remotely? Quote Share this post Link to post
nick75 25 Posted 04/07/2017 Hi, Most if not all routers won't allow traffic from the internet onto the LAN-facing interface.You'll have to allow remote management in your router and access it on your public IP address. 1 silvianismo reacted to this Quote Share this post Link to post
silvianismo 0 Posted 04/11/2017 not able.. :S Only able to open 1 port.. Quote Share this post Link to post
nick75 25 Posted 04/11/2017 On 4/11/2017 at 9:56 PM, silvianismo said: not able.. :S Only able to open 1 port.. This is too vague, can you clarify? Quote Share this post Link to post
silvianismo 0 Posted 04/12/2017 I want to use more than one port.. I'm not able to configure 2 ports! Thanks ( Scuse me for my English ) Quote Share this post Link to post
go558a83nk 371 Posted 04/12/2017 On 4/12/2017 at 6:09 PM, silvianismo said: I want to use more than one port.. I'm not able to configure 2 ports! Thanks ( Scuse me for my English ) you certainly can. it's just that you can't forward to the router itself it seems. Quote Share this post Link to post
silvianismo 0 Posted 04/12/2017 2 port from my 192.168.1.40.. and 1 port from ....197 I try many rules but always have router conflict route.. Many thanks Quote Share this post Link to post
nick75 25 Posted 04/16/2017 You cannot access the router itself through the VPN (or so it seems). Quote Share this post Link to post
silvianismo 0 Posted 04/16/2017 Just create an other port forward on other ip of my lan.. Quote Share this post Link to post
023 0 Posted 04/28/2017 On 4/19/2017 at 3:27 PM, silvianismo said: nobody..? you need the router ip adres put on dmz Quote Share this post Link to post