Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Config of Web-server in NAT lab
- #
- # Management in EVE-NG:
- /system identity
- set name=SERVER
- /tool romon
- set enabled=yes
- # Address and route
- /ip address
- add address=192.168.0.100/24 interface=ether1 network=192.168.0.0
- /ip route
- add distance=1 gateway=192.168.0.1
- # Create 2 certs
- /certificate
- add common-name=myCA name=myCA
- sign myCA ca-crl-host=192.168.0.100;
- :delay 2;
- add common-name=192.168.0.100 name=www-ssl;
- sign www-ssl ca=myCA;
- :delay 2;
- set www-ssl trusted=yes
- # Set https service to use certificate
- /ip service
- set www-ssl certificate=www-ssl disabled=no
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement