Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Command to forward ports

Status
Not open for further replies.

McGoat

MIS
Jun 7, 2001
11
0
0
DK
I wanna forward port 25 from no matter what ip to a server on the other side of the firewall....

anyone?
 
conduit permit | deny protocol global_ip global_mask [operator port [port]] foreign_ip foreign_mask [operator port [port]]

static (high_interface,low_interface) global_ip local_ip netmask mask


Use the static command to establish the NAT relationship between the inside and outside interfaces

Then use the conduit comand to set up the protocol and services the static will use.

access lists could be used in place of using a conduit statement

It might look something like this

static (inside, outside) 1.1.1.1 192.168.1.1 netmask 255.255.255.255
conduit permit tcp host 1.1.1.1 eq 25 any



-Danny






 
oh ya, If all fails check out the cisco site

It is full of useful configuration examples.

-Danny






 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top