F5: Difference between revisions

393 bytes added ,  18 days ago
(4 intermediate revisions by the same user not shown)
Line 339:
 
sudo iptables -F
 
* Enable Internet access
sudo virsh attach-interface --type bridge --source virbr0 --model virtio client
 
=== Install WebServer ===
Line 365 ⟶ 362:
 
== F5 Configuration ==
{{UC}}
 
=== Create VLAN ===
Line 448 ⟶ 444:
}
</pre>
 
*=== Enable Internet accessAccess on VMs ===
 
; On VMs:
 
* Add Interface for the common network on host to the VMs:
sudo virsh attach-interface --type bridge --source virbr0 --model virtio client
 
; On Host:
sudo sysctl -w net.ipv4.ip_forward=1
sudo iptables --table nat --append POSTROUTING --out-interface ens192 -j MASQUERADE # ens192 is default exit interface in Host
sudo iptables --insert FORWARD --in-interface virbr0 -j ACCEPT # virbr0 is newly added interface in VM
 
 
 
<br />