Avatar of jrhue
jrhue

asked on 

Cisco Router - redirect all customer traffic to specific IP and Port ( eg. www and domain )

When a customer has not paid or thier service has been disabled for any reason, we send them to a web page with our name and phone number and a message to call us.
With customers where we have a linux based firewall, I simply use the following iptables commands
#### let thru all dns traffic.  DNAT all www traffic to one IP address (blocked service screen )
#### block all other traffic from the customer's subnet
#### customers interface is eth1 --- the public facing interface is eth0
#iptables -t nat -A PREROUTING -i eth1 -p udp --dport domain -j ACCEPT
#iptables -t nat -A PREROUTING -i eth1 -p tcp --dport www -j DNAT --to 11.22.33.44
#iptables -t nat -A PREROUTING -s 55.66.77.88/27 -j DROP

We have many customers with just Cisco 1600/1720/2500 routers and no firewall.

How do I do the same redirection with a standard cisco router?  

They are all running IOS 11 or higher.
NetworkingRoutersDNS

Avatar of undefined
Last Comment
cyoncon
ASKER CERTIFIED SOLUTION
Avatar of cyoncon
cyoncon
Flag of Ecuador image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Networking
Networking

Networking is the process of connecting computing devices, peripherals and terminals together through a system that uses wiring, cabling or radio waves that enable their users to communicate, share information and interact over distances. Often associated are issues regarding operating systems, hardware and equipment, cloud and virtual networking, protocols, architecture, storage and management.

102K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo