
Chapter 20 Virtual Servers
UAG CLI Reference Guide
135
• HTTP traffic and the HTTP server in this example both use TCP port 80. So you set the port
mapping type to “port”, the protocol type to “TCP”, and the original and mapped ports to “80”.
3
Configure firewall
Create a firewall rule to allow HTTP traffic from the WAN zone to the DMZ web server.
Now the public can go to IP address 1.1.1.2 to access the HTTP server.
Router(config)# ip virtual-server To-VirtualServer-WWW interface wan1 original-ip
wan1_HTTP map-to DMZ_HTTP map-type port protocol tcp original-port 80 mapped-port 80
Router(config)#
Router(config)# firewall insert 1
Router(firewall)# description To-VirtualServer-WWW
Router(firewall)# from WAN
Router(firewall)# to DMZ
Router(firewall)# destinationip DMZ_HTTP
Router(firewall)# service HTTP
Router(firewall)# exit
Router(config)# write
Router(config)#
Summary of Contents for UAG Series
Page 5: ...Document Conventions UAG CLI Reference Guide 5 Server Firewall Telephone Switch Router ...
Page 22: ...22 PART I Introduction ...
Page 23: ...23 ...
Page 41: ...41 PART II Reference ...
Page 42: ...42 ...