diff options
author | Xiao Pan <xyz@flylightning.xyz> | 2025-07-30 15:28:46 +0000 |
---|---|---|
committer | Xiao Pan <xyz@flylightning.xyz> | 2025-07-30 15:28:46 +0000 |
commit | 71273a94a47e16aba8f0a02bb244aa62a6d3cd21 (patch) | |
tree | 26e740448fec6450eb6e362a2af97aabb713fa17 /etc/systemd | |
parent | e55702d3acdeb86b936ae0d6e3771e041e2e7d21 (diff) |
remove phantun and switch to mimic
Diffstat (limited to 'etc/systemd')
4 files changed, 3 insertions, 14 deletions
diff --git a/etc/systemd/system/multi-user.target.wants/mimic@ens18.service b/etc/systemd/system/multi-user.target.wants/mimic@ens18.service new file mode 120000 index 00000000..dce9a731 --- /dev/null +++ b/etc/systemd/system/multi-user.target.wants/mimic@ens18.service @@ -0,0 +1 @@ +/usr/lib/systemd/system/mimic@.service
\ No newline at end of file diff --git a/etc/systemd/system/multi-user.target.wants/mimic@ens19.service b/etc/systemd/system/multi-user.target.wants/mimic@ens19.service new file mode 120000 index 00000000..dce9a731 --- /dev/null +++ b/etc/systemd/system/multi-user.target.wants/mimic@ens19.service @@ -0,0 +1 @@ +/usr/lib/systemd/system/mimic@.service
\ No newline at end of file diff --git a/etc/systemd/system/multi-user.target.wants/mimic@ipv6net.service b/etc/systemd/system/multi-user.target.wants/mimic@ipv6net.service new file mode 120000 index 00000000..dce9a731 --- /dev/null +++ b/etc/systemd/system/multi-user.target.wants/mimic@ipv6net.service @@ -0,0 +1 @@ +/usr/lib/systemd/system/mimic@.service
\ No newline at end of file diff --git a/etc/systemd/system/phantun_server.service b/etc/systemd/system/phantun_server.service deleted file mode 100644 index 68a57480..00000000 --- a/etc/systemd/system/phantun_server.service +++ /dev/null @@ -1,14 +0,0 @@ -[Unit] -Description=phantun client -After=network.target - -[Service] -Type=simple -Environment=RUST_LOG=info -ExecStart=/usr/bin/phantun_server --local 59083 --remote [::1]:54635 --tun-local 10.0.2.1 --tun-peer 10.0.2.2 --tun-local6 fdc9:281f:04d7:9eeb::1 --tun-peer6 fdc9:281f:04d7:9eeb::2 --tun pt0 -#ExecStart=/usr/bin/env RUST_LOG=info /usr/bin/phantun_server --local 59083 --remote [::1]:54635 --tun-local 10.0.2.1 --tun-peer 10.0.2.2 --tun-local6 fdc9:281f:04d7:9eeb::1 --tun-peer6 fdc9:281f:04d7:9eeb::2 --tun pt0 -Restart=always - -[Install] -WantedBy=multi-user.target - |