<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.1701technology.com/index.php?action=history&amp;feed=atom&amp;title=CentOS_7_Router</id>
	<title>CentOS 7 Router - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.1701technology.com/index.php?action=history&amp;feed=atom&amp;title=CentOS_7_Router"/>
	<link rel="alternate" type="text/html" href="https://wiki.1701technology.com/index.php?title=CentOS_7_Router&amp;action=history"/>
	<updated>2026-05-06T12:55:26Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.1</generator>
	<entry>
		<id>https://wiki.1701technology.com/index.php?title=CentOS_7_Router&amp;diff=522&amp;oldid=prev</id>
		<title>Michael.mast: Created page with &quot;As of this writing I am still very green when it comes to IPTables. Used to know more about them, but as time went on and I worked with more systems the knowledge became a blu...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.1701technology.com/index.php?title=CentOS_7_Router&amp;diff=522&amp;oldid=prev"/>
		<updated>2017-09-23T20:46:11Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;As of this writing I am still very green when it comes to IPTables. Used to know more about them, but as time went on and I worked with more systems the knowledge became a blu...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;As of this writing I am still very green when it comes to IPTables. Used to know more about them, but as time went on and I worked with more systems the knowledge became a blur.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
I find myself in need of a tunneling through our network vendor's equipment. I don't trust them to diagnose their equipment so I am taking matters into my own hands. With already having a CentOS 7 box acting as DHCP and DNS, it was only natural to install openvpn and enable ip forwarding.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;ref&amp;gt;https://www.lisenet.com/2016/firewalld-rich-and-direct-rules-setup-rhel-7-server-as-a-router/&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
firewall-cmd --permanent --add-interface=tun0 --zone=dmz&lt;br /&gt;
firewall-cmd --reload&lt;br /&gt;
nmcli con mod tun0 connection.zone dmz&lt;br /&gt;
nmcli c reload&lt;br /&gt;
echo &amp;quot;net.ipv4.ip_forward=1&amp;quot; &amp;gt;&amp;gt; /etc/sysctl.d/ip_forward.conf&lt;br /&gt;
sysctl -p /etc/sysctl.d/ip_forward.conf&lt;br /&gt;
firewall-cmd --permanent --zone=dmz firewall-cmd --add-masquerade&lt;br /&gt;
firewall-cmd --reload&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Michael.mast</name></author>
		
	</entry>
</feed>