Static with ACL

Unanswered Question
Jul 31st, 2008
User Badges:

i have one global ip address x.x.188.5 and I have to servers 192.168.1.219 and 192.168.1.220. I want to advertise these servers over

the Internet on the following HTTPS & SSH.



How can i advertise these servers with one global IP address. Please help me out


one static entry works fine but when i try to bind second IP with global IP i am getting error.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Marwan ALshawi Thu, 07/31/2008 - 20:05
User Badges:
  • Purple, 4500 points or more
  • Community Spotlight Award,

    Best Publication, December 2015

but if you wants to use the same port for both servers will not work


it must use each port for one server

for example ssh for server1 and hhtps for other server

because u are using one pub IP


for example


static(inside, outside) tcp interface 22 192.168.1.219 22 netmask 255.255.255.255


static(inside, outside) tcp interface 443 192.168.1.220 443 netmask 255.255.255.255


then make an ACL on the outside interface that allow traffic to these ports


please, if helpful rate


Actions

This Discussion