beautypg.com

Router configuration – Carrier Access 770-0015 AM User Manual

Page 200

background image

11-6

IP Router - Release 1.8

Router Configuration

Internet Connection using PPP, NAT/PAT and Firewall Filters

Command

Description

add 1 "wan1" firewall 1 pass

incoming log telnet

192.168.21.14/32

xxx.xxx.xxx.xxx/32

Adds a Firewall rule to the WAN. Where
xxx.xxx.xxx.xxx is the host’s IP address at the far
end that will be able to ping or Telnet to the
router. 0.0.0.0/0 will allow any other host at the
far end to ping and/or Telnet to the router.

add 1 "wan1" firewall 2 pass

inout nolog ping

192.168.21.14/32

xxx.xxx.xxx.xxx/32

Adds a Firewall rule to the WAN. Where
xxx.xxx.xxx.xxx is the host’s IP address at the far
end that will be able to ping or Telnet to the
router. 0.0.0.0/0 will allow any other host at the
far end to ping and/or Telnet to the router.

add 1 "wan1" firewall 3 pass

inout nolog ping 0.0.0.0/0

0.0.0.0/0

Adds a Firewall rule to the WAN.

add 1 "wan1" firewall 4 pass

inout nolog tcp 1-65535 0.0.0.0/0

0.0.0.0/0

Adds a Firewall rule to the WAN.

add 1 "wan1" firewall 5 pass

inout nolog udp 1-65535 0.0.0.0/0

0.0.0.0/0

Adds a Firewall rule to the WAN.

set 1 "wan1" trunk 1

Set the WAN interface named "wan1" to be
mapped to trunk 1

set 1:1:1 encapsulation ppp

Set the encapsulation on trunk 1 to PPP

reset 1

Reboot the router, to enable all configurations set