How to access internet from EVE-NG (community edition) hosted in Google Cloud

Опубликовано: 30 Сентябрь 2024
на канале: IT Ideas
5,858
115

In this video, I'll show you how to access internet from EVE-NG (labs) hosted in google cloud. I have used EVE-NG Community edition to explain in this demo.

*****************************************

Commands Used:
Add an IP address to the 2nd bridge interface: nano /etc/network/interfaces
Create an address: address X.X.X.X
Create a subnet mask: netmask 255.255.255.0

Restart Networking: systemctl restart networking

Turn on IPv4 Forwarding: nano /etc/sysctl.conf

Force sysctl to read the new values from the file: sysctl -p /etc/sysctl.conf

Configure iptables to NAT outbound connections:
iptables -t nat -A POSTROUTING -s 192.168.36.0/24 -o pnet0 -j MASQUERADE

Save the current iptables rules and create a new file:
iptables-save (greater than symbol) /etc/iptables.conf

Restore IP tables:
Edit this file: nano /etc/rc.local
Insert this command: iptables-restore (lesser than symbol) /etc/iptables.conf

*****************************************

Useful Links:
Install EVE-NG in Google cloud:    • Install EVE-NG community edition in G...  
Add cisco images to EVE-NG:    • Add/Upload CISCO Switch/Router images...  
Add Ubuntu images to EVE-NG:    • Upload and install UBUNTU (LINUX) ins...  

*****************************************

1. Connect EVE-NG to internet @ Google cloud
2. Host eve-ng in Google cloud
3. Internet connectivity to eve-ng lab inside Google cloud

*****************************************

#Eve_ng #Google_cloud #ccna
#networking #gns3 #connect_to_internet_from_eve_ng_labs #ccnp #ubuntu #cisco
#connect_EVE_NG_to_internet_at_Google_cloud #Inetnet_connectivity_to_Eve_ng_lab_inside_Google_cloud
#Host_Eve_ng_in_Google_cloud