cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3520
Views
0
Helpful
5
Replies

ASA 5505 RealVNC

jill.kane
Level 1
Level 1

I am trying to enable access to use RealVNC on our Cisco ASA 5505 without using VPN. RealVNC uses port 5900. Users should be able to vnc to 99.23.119.78 and reach our internal server 192.168.1.4. So far they are receiving connection refused.

What am I missing???

Here are my current running configs:

Result of the command: "show running-config"

: Saved
:
ASA Version 8.2(1)
!
hostname ciscoasa
enable password qVQaNBP31RadYDLM encrypted
passwd 2KFQnbNIdI.2KYOU encrypted
names
!
interface Vlan1
nameif inside
security-level 100
ip address 192.168.1.1 255.255.255.0
!
interface Vlan2
nameif ATT
security-level 0
pppoe client vpdn group ATT
ip address pppoe setroute
!
interface Ethernet0/0
switchport access vlan 2
!
interface Ethernet0/1
!
interface Ethernet0/2
!
interface Ethernet0/3
!
interface Ethernet0/4
!
interface Ethernet0/5
!
interface Ethernet0/6
!
interface Ethernet0/7
!
ftp mode passive
clock timezone EST -5
clock summer-time EDT recurring
object-group service DM_INLINE_TCP_1 tcp
port-object eq ftp
port-object eq ftp-data
port-object eq www
access-list ATT_access_in remark Linkstation Access
access-list ATT_access_in extended permit tcp any host 99.23.119.78 object-group DM_INLINE_TCP_1
access-list ATT_access_in remark Linkstation FTP
access-list ATT_access_in extended permit tcp any interface ATT eq ftp
access-list ATT_access_in remark Linkstation FTP-Data
access-list ATT_access_in extended permit tcp any interface ATT eq ftp-data
access-list ATT_access_in remark Linkstation FTP HTTP Customer
access-list ATT_access_in extended permit tcp any interface ATT eq www
access-list ATT_access_in remark Linkstation Remote Admin
access-list ATT_access_in extended permit tcp any host 99.23.119.73 eq www
access-list ATT_access_in remark RealVNC
access-list ATT_access_in extended permit tcp any interface ATT eq 5900
access-list ATT_access_in extended permit tcp any host 99.23.119.78 eq 5900
access-list ATT_access_in extended permit tcp any host 99.23.119.78 eq 29000
access-list ATT_access_in extended permit tcp any host 99.23.119.78 eq 39000
access-list ATT_access_in extended permit tcp any host 99.23.119.73 eq 5800
access-list ATT_access_in extended permit tcp any host 99.23.119.73 eq 3389
access-list ATT_access_in extended permit tcp any host 192.168.1.4 eq 5900
access-list 100 extended permit tcp any interface ATT eq ftp
access-list 100 extended permit tcp any interface ATT eq ftp-data
access-list 100 extended permit tcp any host 192.168.1.3 eq ftp
access-list 100 extended permit tcp any host 192.168.1.3 eq ftp-data
access-list 100 extended permit tcp any host 192.168.1.3 eq www
access-list 100 extended permit tcp any host 99.23.119.73 eq 5900
access-list extended extended permit tcp any host 192.168.1.3 eq ftp
access-list extended extended permit tcp any host 192.168.1.3 eq ftp-data
access-list extended extended permit tcp any host 192.168.1.3 eq www
access-list extended extended permit tcp any host 99.23.119.73 eq 5900
pager lines 24
logging enable
logging asdm informational
mtu inside 1500
mtu ATT 1500
icmp unreachable rate-limit 1 burst-size 1
no asdm history enable
arp timeout 14400
global (ATT) 1 interface
nat (inside) 1 0.0.0.0 0.0.0.0
static (inside,ATT) tcp 99.23.119.73 www 192.168.1.3 www netmask 255.255.255.255
static (inside,ATT) tcp interface www 192.168.1.3 9000 netmask 255.255.255.255  dns
static (inside,ATT) tcp interface 29000 192.168.1.4 29000 netmask 255.255.255.255
static (inside,ATT) tcp interface 39000 192.168.1.4 39000 netmask 255.255.255.255
static (inside,ATT) tcp interface 5900 192.168.1.4 5900 netmask 255.255.255.255
static (inside,ATT) tcp interface 5800 192.168.1.4 5800 netmask 255.255.255.255
static (inside,ATT) tcp interface 3389 192.168.1.4 3389 netmask 255.255.255.255
access-group ATT_access_in in interface ATT
timeout xlate 3:00:00
timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 icmp 0:00:02
timeout sunrpc 0:10:00 h323 0:05:00 h225 1:00:00 mgcp 0:05:00 mgcp-pat 0:05:00
timeout sip 0:30:00 sip_media 0:02:00 sip-invite 0:03:00 sip-disconnect 0:02:00
timeout sip-provisional-media 0:02:00 uauth 0:05:00 absolute
timeout tcp-proxy-reassembly 0:01:00
dynamic-access-policy-record DfltAccessPolicy
http server enable
http 192.168.1.0 255.255.255.0 inside
http 0.0.0.0 0.0.0.0 ATT
no snmp-server location
no snmp-server contact
snmp-server enable traps snmp authentication linkup linkdown coldstart
crypto ipsec security-association lifetime seconds 28800
crypto ipsec security-association lifetime kilobytes 4608000
telnet timeout 5
ssh 0.0.0.0 0.0.0.0 ATT
ssh timeout 5
console timeout 0
vpdn group ATT request dialout pppoe
vpdn group ATT localname eossolutions@static.att.net
vpdn group ATT ppp authentication pap
vpdn username eossolutions@static.att.net password ********* store-local
dhcpd auto_config ATT
!
dhcpd address 192.168.1.5-192.168.1.132 inside
dhcpd enable inside
!

threat-detection basic-threat
threat-detection statistics port
threat-detection statistics protocol
threat-detection statistics access-list
no threat-detection statistics tcp-intercept
webvpn
!
class-map inspection_default
match default-inspection-traffic
!
!
policy-map type inspect dns preset_dns_map
parameters
  message-length maximum 512
policy-map global_policy
class inspection_default
  inspect dns preset_dns_map
  inspect ftp
  inspect h323 h225
  inspect h323 ras
  inspect rsh
  inspect rtsp
  inspect esmtp
  inspect sqlnet
  inspect skinny 
  inspect sunrpc
  inspect xdmcp
  inspect sip 
  inspect netbios
  inspect tftp
!
service-policy global_policy global
prompt hostname context
Cryptochecksum:0612bcd7cc841d3a5013467e2bfd8eea
: end

1 Accepted Solution

Accepted Solutions

I just tested the connection using my VNC to your public IP and it worked.

I opened my VNC and typed 99.23.119.78:5510

That opened the connection on port TCP 5510.

Things are fine now.

View solution in original post

5 Replies 5

The configuration looks fine. Internally are you able to VNC to 192.168.1.4 ?

Is the default gateway of you server the ASA?

The default gateway of the server running VNC is 192.168.1.1, which is the inside ip of the ASA firewall.

I realized that the port was setup to accept connections on port 5510 and serve Java viewer on port 5511, so I had to modify the Cisco configurations, but it still appears that the ports are not open. VNC does work internally to the local ip. I am trying to verify the port is open externally by going to http://www.canyouseeme.org/.

What am I missing? Thanks for your help!!!

Here are the updated configs:

Result of the command: "show running-config"

: Saved
:
ASA Version 8.2(1)
!
hostname ciscoasa
enable password qVQaNBP31RadYDLM encrypted
passwd 2KFQnbNIdI.2KYOU encrypted
names
!
interface Vlan1
nameif inside
security-level 100
ip address 192.168.1.1 255.255.255.0
!
interface Vlan2
nameif ATT
security-level 0
pppoe client vpdn group ATT
ip address pppoe setroute
!
interface Ethernet0/0
switchport access vlan 2
!
interface Ethernet0/1
!
interface Ethernet0/2
!
interface Ethernet0/3
!
interface Ethernet0/4
!
interface Ethernet0/5
!
interface Ethernet0/6
!
interface Ethernet0/7
!
ftp mode passive
clock timezone EST -5
clock summer-time EDT recurring
object-group service DM_INLINE_TCP_1 tcp
port-object eq ftp
port-object eq ftp-data
port-object eq www
access-list ATT_access_in remark Linkstation Access
access-list ATT_access_in extended permit tcp any host 99.23.119.78 object-group DM_INLINE_TCP_1
access-list ATT_access_in remark Linkstation FTP
access-list ATT_access_in extended permit tcp any interface ATT eq ftp
access-list ATT_access_in remark Linkstation FTP-Data
access-list ATT_access_in extended permit tcp any interface ATT eq ftp-data
access-list ATT_access_in remark Linkstation FTP HTTP Customer
access-list ATT_access_in extended permit tcp any interface ATT eq www
access-list ATT_access_in remark Linkstation Remote Admin
access-list ATT_access_in extended permit tcp any host 99.23.119.73 eq www
access-list ATT_access_in remark RealVNC
access-list ATT_access_in extended permit tcp any interface ATT eq 5510
access-list ATT_access_in extended permit tcp any host 99.23.119.78 eq 5510
access-list ATT_access_in extended permit tcp any host 99.23.119.78 eq 29000
access-list ATT_access_in extended permit tcp any host 99.23.119.78 eq 39000
access-list ATT_access_in extended permit tcp any host 99.23.119.73 eq 5511
access-list ATT_access_in extended permit tcp any host 99.23.119.73 eq 3389
access-list ATT_access_in extended permit tcp any host 192.168.1.4 eq 5510
access-list 100 extended permit tcp any interface ATT eq ftp
access-list 100 extended permit tcp any interface ATT eq ftp-data
access-list 100 extended permit tcp any host 192.168.1.3 eq ftp
access-list 100 extended permit tcp any host 192.168.1.3 eq ftp-data
access-list 100 extended permit tcp any host 192.168.1.3 eq www
access-list 100 extended permit tcp any host 99.23.119.73 eq 5510
access-list extended extended permit tcp any host 192.168.1.3 eq ftp
access-list extended extended permit tcp any host 192.168.1.3 eq ftp-data
access-list extended extended permit tcp any host 192.168.1.3 eq www
access-list extended extended permit tcp any host 99.23.119.73 eq 5900
pager lines 24
logging enable
logging asdm informational
mtu inside 1500
mtu ATT 1500
icmp unreachable rate-limit 1 burst-size 1
no asdm history enable
arp timeout 14400
global (ATT) 1 interface
nat (inside) 1 0.0.0.0 0.0.0.0
static (inside,ATT) tcp 99.23.119.73 www 192.168.1.3 www netmask 255.255.255.255
static (inside,ATT) tcp interface www 192.168.1.3 9000 netmask 255.255.255.255  dns
static (inside,ATT) tcp interface 29000 192.168.1.4 29000 netmask 255.255.255.255
static (inside,ATT) tcp interface 39000 192.168.1.4 39000 netmask 255.255.255.255
static (inside,ATT) tcp interface 5900 192.168.1.4 5510 netmask 255.255.255.255
static (inside,ATT) tcp interface 5800 192.168.1.4 5511 netmask 255.255.255.255
static (inside,ATT) tcp interface 3389 192.168.1.4 3389 netmask 255.255.255.255
access-group ATT_access_in in interface ATT
timeout xlate 3:00:00
timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 icmp 0:00:02
timeout sunrpc 0:10:00 h323 0:05:00 h225 1:00:00 mgcp 0:05:00 mgcp-pat 0:05:00
timeout sip 0:30:00 sip_media 0:02:00 sip-invite 0:03:00 sip-disconnect 0:02:00
timeout sip-provisional-media 0:02:00 uauth 0:05:00 absolute
timeout tcp-proxy-reassembly 0:01:00
dynamic-access-policy-record DfltAccessPolicy
http server enable
http 192.168.1.0 255.255.255.0 inside
http 0.0.0.0 0.0.0.0 ATT
no snmp-server location
no snmp-server contact
snmp-server enable traps snmp authentication linkup linkdown coldstart
crypto ipsec security-association lifetime seconds 28800
crypto ipsec security-association lifetime kilobytes 4608000
telnet timeout 5
ssh 0.0.0.0 0.0.0.0 ATT
ssh timeout 5
console timeout 0
vpdn group ATT request dialout pppoe
vpdn group ATT localname eossolutions@static.att.net
vpdn group ATT ppp authentication pap
vpdn username eossolutions@static.att.net password ********* store-local
dhcpd auto_config ATT
!
dhcpd address 192.168.1.5-192.168.1.132 inside
dhcpd enable inside
!

threat-detection basic-threat
threat-detection statistics port
threat-detection statistics protocol
threat-detection statistics access-list
no threat-detection statistics tcp-intercept
webvpn
!
class-map inspection_default
match default-inspection-traffic
!
!
policy-map type inspect dns preset_dns_map
parameters
  message-length maximum 512
policy-map global_policy
class inspection_default
  inspect dns preset_dns_map
  inspect ftp
  inspect h323 h225
  inspect h323 ras
  inspect rsh
  inspect rtsp
  inspect esmtp
  inspect sqlnet
  inspect skinny 
  inspect sunrpc
  inspect xdmcp
  inspect sip 
  inspect netbios
  inspect tftp
!
service-policy global_policy global
prompt hostname context
Cryptochecksum:0612bcd7cc841d3a5013467e2bfd8eea
: end

I just tested the connection using my VNC to your public IP and it worked.

I opened my VNC and typed 99.23.119.78:5510

That opened the connection on port TCP 5510.

Things are fine now.

Nevermind, I think I got it... thanks for your help! It was just a typo in the change with the configuration

Here's the most current config now:

Result of the command: "show running-config"

: Saved
:
ASA Version 8.2(1)
!
hostname ciscoasa
enable password qVQaNBP31RadYDLM encrypted
passwd 2KFQnbNIdI.2KYOU encrypted
names
!
interface Vlan1
nameif inside
security-level 100
ip address 192.168.1.1 255.255.255.0
!
interface Vlan2
nameif ATT
security-level 0
pppoe client vpdn group ATT
ip address pppoe setroute
!
interface Ethernet0/0
switchport access vlan 2
!
interface Ethernet0/1
!
interface Ethernet0/2
!
interface Ethernet0/3
!
interface Ethernet0/4
!
interface Ethernet0/5
!
interface Ethernet0/6
!
interface Ethernet0/7
!
ftp mode passive
clock timezone EST -5
clock summer-time EDT recurring
object-group service DM_INLINE_TCP_1 tcp
port-object eq ftp
port-object eq ftp-data
port-object eq www
access-list ATT_access_in remark Linkstation Access
access-list ATT_access_in extended permit tcp any host 99.23.119.78 object-group DM_INLINE_TCP_1
access-list ATT_access_in remark Linkstation FTP
access-list ATT_access_in extended permit tcp any interface ATT eq ftp
access-list ATT_access_in remark Linkstation FTP-Data
access-list ATT_access_in extended permit tcp any interface ATT eq ftp-data
access-list ATT_access_in remark Linkstation FTP HTTP Customer
access-list ATT_access_in extended permit tcp any interface ATT eq www
access-list ATT_access_in remark Linkstation Remote Admin
access-list ATT_access_in extended permit tcp any host 99.23.119.73 eq www
access-list ATT_access_in remark RealVNC
access-list ATT_access_in extended permit tcp any interface ATT eq 5510
access-list ATT_access_in extended permit tcp any host 99.23.119.78 eq 29000
access-list ATT_access_in extended permit tcp any host 99.23.119.78 eq 39000
access-list ATT_access_in extended permit tcp any host 192.168.1.4 eq 5510
access-list 100 extended permit tcp any interface ATT eq ftp
access-list 100 extended permit tcp any interface ATT eq ftp-data
access-list 100 extended permit tcp any host 192.168.1.3 eq ftp
access-list 100 extended permit tcp any host 192.168.1.3 eq ftp-data
access-list 100 extended permit tcp any host 192.168.1.3 eq www
access-list 100 extended permit tcp any host 99.23.119.73 eq 5510
access-list extended extended permit tcp any host 192.168.1.3 eq ftp
access-list extended extended permit tcp any host 192.168.1.3 eq ftp-data
access-list extended extended permit tcp any host 192.168.1.3 eq www
access-list extended extended permit tcp any host 99.23.119.73 eq 5900
access-list extended extended permit tcp any host 99.23.119.73 eq 5510
access-list extended extended permit tcp any host 99.23.119.73 eq 5511
pager lines 24
logging enable
logging asdm informational
mtu inside 1500
mtu ATT 1500
icmp unreachable rate-limit 1 burst-size 1
no asdm history enable
arp timeout 14400
global (ATT) 1 interface
nat (inside) 1 0.0.0.0 0.0.0.0
static (inside,ATT) tcp 99.23.119.73 www 192.168.1.3 www netmask 255.255.255.255
static (inside,ATT) tcp interface www 192.168.1.3 9000 netmask 255.255.255.255  dns
static (inside,ATT) tcp interface 29000 192.168.1.4 29000 netmask 255.255.255.255
static (inside,ATT) tcp interface 39000 192.168.1.4 39000 netmask 255.255.255.255
static (inside,ATT) tcp interface 5510 192.168.1.4 5510 netmask 255.255.255.255
static (inside,ATT) tcp interface 5511 192.168.1.4 5511 netmask 255.255.255.255
static (inside,ATT) tcp interface 3389 192.168.1.4 3389 netmask 255.255.255.255
access-group ATT_access_in in interface ATT
timeout xlate 3:00:00
timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 icmp 0:00:02
timeout sunrpc 0:10:00 h323 0:05:00 h225 1:00:00 mgcp 0:05:00 mgcp-pat 0:05:00
timeout sip 0:30:00 sip_media 0:02:00 sip-invite 0:03:00 sip-disconnect 0:02:00
timeout sip-provisional-media 0:02:00 uauth 0:05:00 absolute
timeout tcp-proxy-reassembly 0:01:00
dynamic-access-policy-record DfltAccessPolicy
http server enable
http 192.168.1.0 255.255.255.0 inside
http 0.0.0.0 0.0.0.0 ATT
no snmp-server location
no snmp-server contact
snmp-server enable traps snmp authentication linkup linkdown coldstart
crypto ipsec security-association lifetime seconds 28800
crypto ipsec security-association lifetime kilobytes 4608000
telnet timeout 5
ssh 0.0.0.0 0.0.0.0 ATT
ssh timeout 5
console timeout 0
vpdn group ATT request dialout pppoe
vpdn group ATT localname eossolutions@static.att.net
vpdn group ATT ppp authentication pap
vpdn username eossolutions@static.att.net password ********* store-local
dhcpd auto_config ATT
!
dhcpd address 192.168.1.5-192.168.1.132 inside
dhcpd enable inside
!

threat-detection basic-threat
threat-detection statistics port
threat-detection statistics protocol
threat-detection statistics access-list
no threat-detection statistics tcp-intercept
webvpn
!
class-map inspection_default
match default-inspection-traffic
!
!
policy-map type inspect dns preset_dns_map
parameters
  message-length maximum 512
policy-map global_policy
class inspection_default
  inspect dns preset_dns_map
  inspect ftp
  inspect h323 h225
  inspect h323 ras
  inspect rsh
  inspect rtsp
  inspect esmtp
  inspect sqlnet
  inspect skinny 
  inspect sunrpc
  inspect xdmcp
  inspect sip 
  inspect netbios
  inspect tftp
!
service-policy global_policy global
prompt hostname context
Cryptochecksum:0612bcd7cc841d3a5013467e2bfd8eea
: end

good to hear that things are working. If possible please mark the question as answered.

Review Cisco Networking products for a $25 gift card