cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
345
Views
0
Helpful
2
Replies

URL Specific routing through WAN Port

rockford333
Level 1
Level 1

Hi,

I am using C921 router, 1 WAN port connected to ISP & other WAN port connected VPN. Some website access only through VPN port only. I want to do URL specific route through WAN Port of VPN.

2 Replies 2

DNS is resolve IP of WAN1 or WAN2 ?

You can do route traffic via DNS 

MHM

hostname slumboard

ip dhcp excluded-address 192.168.1.1 192.168.1.30

ip dhcp pool DefaultPool
network 192.168.1.0 255.255.255.0
default-router 192.168.1.1
dns-server 8.8.8.8 8.8.4.4

ip name-server 8.8.8.8
ip name-server 8.8.4.4


interface GigabitEthernet4
ip address 172.22.6.42 255.255.255.248
no shutdown

interface GigabitEthernet5
no ip address
no ip route-cache
pppoe enable group global
pppoe-client dial-pool-number 1


interface Vlan1ip
ip address 192.168.1.1 255.255.255.0
ip nat inside
ip virtual-reassembly in
ip tcp adjust-mss 1452

interface Dialer1
mtu 1492
ip address negotiated
ip nat outside
ip virtual-reassembly in
encapsulation ppp
no ip route-cache
dialer pool 1
ppp pap sent-username 11203330 password 0 hb49as

ip nat inside source list 1 interface Dialer1 overload
ip route 0.0.0.0 0.0.0.0 Dialer1

access-list 1 permit 192.168.1.0 0.0.0.255

This is my router configuration. Interface 4 is the VPN connection with static IP. Please guide me the command to write for DNS settings,