You can configure NAT on a server with Internet access. Or you can configure the squid proxy on your internet server.
This basically means providing Internet access to a machine that does not have one.
By car with internet access:
yum install squid
Now edit the file /etc/squid/squid.conf. add the following line:
acl internal_server src XXX.XXX.XXX.XXX/32
where XXX.XXX.XXX.XXX is inside the ip server
next add:
http_access allow internal_server
and finally restart the squid server:
/etc/init.d/squid restart
Now, on the internal server:
edit / etc / yum.conf and add:
proxy=http://YYY.YYY.YYY.YYY:3128
Here it is!
source share