Port forwarding to Vlans?

1 post / 0 new
Accid's picture
Port forwarding to Vlans?

Hi guys

I have a question about Port forwarding.

I want to setup Port forwarding to Vlans

My scenario


Netgear R7000 Router Kong DDWRT r23770

I have successfully setup the following


Vlan (1) and Vlan (2), Vlan 2 cannot access anything on Vlan 1.


Port forwarding on Vlan 1, I can access anything on this Vlan. Eg. NAS, VNC etc. via their ports


VPN PPTP Server, I can change the settings to login to either Vlan and it works. Currently this is the only way I can access the devices on Vlan 2.


I have the following startup commands in Frewall


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


I have tried to setuo and access the Vlan 2 devices via port forwarding but with no success.


Any thoughts, ideas, comments