Connect eve-ng to the internet

Before posting something, READ the changelog, WATCH the videos, howto and provide following:
Your install is: Bare metal, ESXi, what CPU model, RAM, HD, what EVE version you have, output of the uname -a and any other info that might help us faster.

Moderator: mike

Post Reply
Rafael Machado
Posts: 3
Joined: Mon Dec 24, 2018 8:35 pm

Connect eve-ng to the internet

Post by Rafael Machado » Mon Dec 24, 2018 8:42 pm

I have an instance of Ubuntu server on GCP with EVE-NG installed.

I would like to know how do I connect my router from lab to internet, I believe it would have to be on the same network as the server.

However the e0/0 interface is DHCP but does not get IP adrress.

Basically I did the following tutorial but I did not succeed:
https://www.petenetlive.com/KB/Article/0001432
You do not have the required permissions to view the files attached to this post.

ecze
Posts: 533
Joined: Wed Mar 15, 2017 1:54 pm

Re: Connect eve-ng to the internet

Post by ecze » Tue Dec 25, 2018 9:35 am

Use 'NAT' network...

E.

Rafael Machado
Posts: 3
Joined: Mon Dec 24, 2018 8:35 pm

Re: Connect eve-ng to the internet

Post by Rafael Machado » Tue Dec 25, 2018 10:47 am

ecze wrote:
Tue Dec 25, 2018 9:35 am
Use 'NAT' network...

E.


I do not have the NAT network in my lab.
You do not have the required permissions to view the files attached to this post.

ecze
Posts: 533
Joined: Wed Mar 15, 2017 1:54 pm

Re: Connect eve-ng to the internet

Post by ecze » Wed Dec 26, 2018 4:00 am

OH sorry,

This option is only in PRO edition.

Community doesn't support NAT.

Regards,

E.

Rafael Machado
Posts: 3
Joined: Mon Dec 24, 2018 8:35 pm

Re: Connect eve-ng to the internet

Post by Rafael Machado » Wed Dec 26, 2018 8:12 pm

Any other way to connect to the internet?

Uldis (UD)
Posts: 5084
Joined: Wed Mar 15, 2017 4:44 pm
Location: London
Contact:

Re: Connect eve-ng to the internet

Post by Uldis (UD) » Fri Dec 28, 2018 10:42 am

only if you have another IP on cloud0 which you can assign for EVE node inside of lab. But if your EVE is on Google cloud, I assume that you have single IP only, therefore it is not possible

dstonogov
Posts: 1
Joined: Mon Mar 02, 2020 9:16 pm

Re: Connect eve-ng to the internet

Post by dstonogov » Thu Apr 02, 2020 10:21 am

I configured DHCP and NAT (iptables) on my EVE-Community. Works ok
1. Install DHCP and configure it:
apt-get install isc-dhcp-server
2. Make a postrouting rule (example):
-A POSTROUTING -s 192.168.1.0/24 -o pnet1 -j SNAT --to-source xx.xx.xx.xx
3. Enjoy.

iZezoh
Posts: 2
Joined: Thu May 14, 2020 11:23 pm

Re: Connect eve-ng to the internet

Post by iZezoh » Thu May 14, 2020 11:25 pm

Follow this guide to set up NAT and access the Internet
https://www.linkedin.com/pulse/build-yo ... -marnissi/

Post Reply