Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

how to access VLAN via VPN


I want to access the server on VLAN 2 from the internet via VPN. Also i want to make sure VLAN 1 cannot be accessed from the internet.

I have implemented inter-vlan routing between VLAN 1 and 2. All suggestions welcome.

Is it possible for users on VLAN 1 and VLAN 2 to access the internet

VLAN 1 - /24

VLAN 2 - /24

R1 serial ip

R1 se0/1 ip

R2 serial is

R2 lan is

  • LAN Switching and Routing
Everyone's tags (2)

Re: how to access VLAN via VPN


To access the server via VPN you should configure VPN and allow access to that server.

To avoid accessing VLAN 1 from the internet, don't give it a public IP (either directly or via static NAT)

Let us know if you need help with this.


New Member

Re: how to access VLAN via VPN

Hi ,

I want server in VLAN 2 with private ip series /24

So  from the internet cloud the server can be accessed. Also from the Remote router R2 users can reach server 2  via VPN only and no access to VLAN 1.

Re: how to access VLAN via VPN

When you set up the VPN configuration, you need to define the interesting traffic with an ACL.

This ACL includes the traffic that is going to be encrypted and protected through the tunnel.

If you want to be able to reach a server, include the IP of the server in the interesting traffic.

If the server uses a private IP and it's not NATed to a public IP, it's not reachable through the internet (only via VPN).

Same concept applies if you want to reach one VLAN but not another.

Check this VPN configuration:(need CCO access)


New Member

Re: how to access VLAN via VPN

Hi i dont have CCO access. any other configuration example would be helpful. thank you