Access to VLAN subnet from WAN

Unanswered Question
Mar 9th, 2007

hi,

I would like to access to a VLAN subnet from WAN.

In my setup, I have a Cisco 1841 which does the VLAN routing. 2 VLANS are defined: native vlan and vlan 172. All PCs are on native VLAN while VLAN 172 used for Voice equipment.

It has 2 routes:

1st route to ADSL router: ip route 0.0.0.0 0.0.0.0 192.168.1.2

2nd route to a wireless network

ADSL gateway on native VLAN.

I can connect through dyndns to any PC on the native VLAN, but would like to access to a PC on vlan 172 on SSH (port 22).

How do I do the routing on the ADSL gateway to forward any traffic on port 22 to the PC (172.16.0.11) on VLAN 172?

Thanks

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
hoogen_82 Fri, 03/09/2007 - 00:41

Hmm.. i am not yet sure about your network, but i guess PBR could work.

!

Route-map ssh permit 10

match ip address 101

set ip default next-hop 172.16.0.11

!

route-map ssh permit 20

!

access-list 101 permit tcp any any eq 22

!

I may not have got the syntax correct but this is a skeleton configuration on which you can work.

Identify from where the traffic is coming from and apply ip policy route-map ssh

Cheers

Hoogen

rsabapathee Fri, 03/09/2007 - 05:27

thanks for reply.

But it sounds you are saying to configure this command on the ADSL gateway. The gateway is a non-cisco router, which does not know about the 172.16.0.0 network.

Only the cisco router which does the VLAN routing knows about that network.

Amit Singh Fri, 03/09/2007 - 05:58

Please paste the your network diagram and configuration of the router.

-amit singh

Actions

This Discussion