12-03-2024 02:49 AM
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.
12-03-2024 03:04 AM
DNS is resolve IP of WAN1 or WAN2 ?
You can do route traffic via DNS
MHM
12-03-2024 10:00 PM
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,
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide