mirror of
https://github.com/EvilFreelancer/docker-routeros.git
synced 2025-07-21 19:25:17 +02:00
yet another entrypoint added to docker image
This commit is contained in:
parent
f7c1a80536
commit
434255e666
1 changed files with 14 additions and 0 deletions
14
entrypoint_with_four_interfaces.sh
Normal file
14
entrypoint_with_four_interfaces.sh
Normal file
|
@ -0,0 +1,14 @@
|
|||
#!/bin/sh
|
||||
|
||||
qemu-system-x86_64 \
|
||||
-vnc 0.0.0.0:0 \
|
||||
-m 256 \
|
||||
-hda $ROUTEROS_IMAGE \
|
||||
-device e1000,netdev=net0 \
|
||||
-netdev user,id=net0,hostfwd=tcp::21-:21,hostfwd=tcp::22-:22,hostfwd=tcp::23-:23,hostfwd=tcp::80-:80,hostfwd=tcp::443-:443,hostfwd=tcp::8291-:8291,hostfwd=tcp::8728-:8728,hostfwd=tcp::8729-:8729 \
|
||||
-device e1000,netdev=net1 \
|
||||
-netdev user,id=net1 \
|
||||
-device e1000,netdev=net2 \
|
||||
-netdev user,id=net2 \
|
||||
-device e1000,netdev=net3 \
|
||||
-netdev user,id=net3
|
Loading…
Add table
Add a link
Reference in a new issue