Community discussions

 
scurrie
just joined
Topic Author
Posts: 3
Joined: Tue Feb 08, 2011 8:22 pm

NOOB configuration question

Tue Feb 08, 2011 9:32 pm

Greetings all--
I am a new user to the RB750 and ROS (v4.11). I am trying to set up a simple configuration and have it mostly working, but I am having difficulty with port forwarding. No matter what I try, I can't seem to get it working. The desired configuration is:

Static WAN: 192.168.1.253/24
WAN Gateway: 192.168.1.1
WAN DNS: 8.8.8.8
LAN Address: 10.0.0.1/8
No DHCP server

Port forwarding as follows:
Ports 20001-20005 TCP/UDP to 10.0.0.2
Port 40000 UDP to 10.0.0.2
Port 40001 TCP to 10.0.0.2
Port 443 TCP to 10.0.0.2
Port 22 TCP to 10.0.0.2

Any suggestions/examples would be appreciated!

-Scott
 
unbkbl
just joined
Posts: 8
Joined: Tue Feb 08, 2011 6:01 pm
Location: Medellin, Colombia

Re: NOOB configuration question

Tue Feb 08, 2011 11:52 pm

From the terminal:

ip firewall nat add chain=dstnat action=netmap to-addresses=10.0.0.1 to-ports=40000 protocol=udp dst-address=192.168.1.253 dst-port=40000

ip firewall nat add chain=dstnat action=netmap to-addresses=10.0.0.1 to-ports=40001 protocol=tcp dst-address=192.168.1.253 dst-port=40001

ip firewall nat add chain=dstnat action=netmap to-addresses=10.0.0.1 to-ports=40001 protocol=tcp dst-address=192.168.1.253 dst-port=40001

ip firewall nat add chain=dstnat action=netmap to-addresses=10.0.0.1 to-ports=20001-20005 protocol=tcp dst-address=192.168.1.253 dst-port=20001-20005

ip firewall nat add chain=dstnat action=netmap to-addresses=10.0.0.1 to-ports=20001-20005 protocol=udp dst-address=192.168.1.253 dst-port=20001-20005


hope this helps
 
scurrie
just joined
Topic Author
Posts: 3
Joined: Tue Feb 08, 2011 8:22 pm

Re: NOOB configuration question

Wed Feb 09, 2011 6:45 am

It did indeed, following your examples, the router is now happily forwarding away.

Thanks,
Scott

Who is online

Users browsing this forum: No registered users and 5 guests