Fake IPs to real ones?

Issues related to configuring your network
Post Reply
Posts: 5
Joined: 2018/09/28 14:30:02
Location: Kyiv, UA

Fake IPs to real ones?

Post by heretech » 2018/10/18 07:54:16

Good day.

I have a small network built around CentOS 7 router.
I want one VLAN which can access only specific IPs. Trouble is, I don't want to share details to users. So the permitted IPs looks like "" or "" which must be redirected to some real IPs with non-standart ports.

So... how can I redirect all requests to to, for example In theory, there must be some iptables rule for it? Can someone provide an example?

Posts: 1654
Joined: 2015/02/17 15:14:33
Location: Bulgaria

Re: Fake IPs to real ones?

Post by hunter86_bg » 2018/10/21 10:29:28

See the following if you use the default firewalld:

Code: Select all

man firewalld.richlanguage

Post Reply