Connect eve-ng to the internet
Moderator: mike
-
- Posts: 3
- Joined: Mon Dec 24, 2018 8:35 pm
Connect eve-ng to the internet
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
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.
-
- Posts: 533
- Joined: Wed Mar 15, 2017 1:54 pm
Re: Connect eve-ng to the internet
Use 'NAT' network...
E.
E.
-
- Posts: 3
- Joined: Mon Dec 24, 2018 8:35 pm
Re: Connect eve-ng to the internet
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.
-
- Posts: 533
- Joined: Wed Mar 15, 2017 1:54 pm
Re: Connect eve-ng to the internet
OH sorry,
This option is only in PRO edition.
Community doesn't support NAT.
Regards,
E.
This option is only in PRO edition.
Community doesn't support NAT.
Regards,
E.
-
- Posts: 3
- Joined: Mon Dec 24, 2018 8:35 pm
Re: Connect eve-ng to the internet
Any other way to connect to the internet?
-
- Posts: 5084
- Joined: Wed Mar 15, 2017 4:44 pm
- Location: London
- Contact:
Re: Connect eve-ng to the internet
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
-
- Posts: 1
- Joined: Mon Mar 02, 2020 9:16 pm
Re: Connect eve-ng to the internet
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.
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.
-
- Posts: 2
- Joined: Thu May 14, 2020 11:23 pm
Re: Connect eve-ng to the internet
Follow this guide to set up NAT and access the Internet
https://www.linkedin.com/pulse/build-yo ... -marnissi/
https://www.linkedin.com/pulse/build-yo ... -marnissi/