Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I deploy nodes with multiple ip address in Centos8 #5976

Closed
Polaris0112 opened this issue Feb 19, 2024 · 1 comment
Closed

How can I deploy nodes with multiple ip address in Centos8 #5976

Polaris0112 opened this issue Feb 19, 2024 · 1 comment

Comments

@Polaris0112
Copy link

Is your feature request related to a problem? Please describe.
How can I deploy nodes with multiple ip address in Centos8

Describe the solution you'd like
I have a vps with multiple ip address in one interface, could I just use docker-compose to get them all online with nodes?

@Polaris0112
Copy link
Author

the docker version can not build up wireguard

965e+11, data component: 4.2984928195150678911e+12. Transferred: 49024, duration: 7.128208409. Price 261519953972488/h, 94147183430095704/GiB
2024-02-19T14:26:03.720 DBG ../../session/pingpong/price_calculator.go:52  > Calculated price 5746569121123. Time component: 5.905522363588283647e+11, data component: 5.1560168847659116406e+12. Transferred: 58804, duration: 8.129353109. Price 261519953972488/h, 94147183430095704/GiB
2024-02-19T14:26:04.721 DBG ../../session/pingpong/price_calculator.go:52  > Calculated price 6883380656851. Time component: 6.6326233487920655066e+11, data component: 6.2201183219728891196e+12. Transferred: 70940, duration: 9.130257058. Price 261519953972488/h, 94147183430095704/GiB
2024-02-19T14:26:04.826 DBG ../../core/service/subscription.go:98          > Received P2P message for "p2p-session-destroy": consumerID:"0xf3853dcdd42463720888fbb4d88ddaebb20e1a8f"  sessionID:"28a8dc66-b14d-428a-860a-5a425d6e37f3"
2024-02-19T14:26:04.828 INF ../../services/wireguard/service/service.go:162 > Cleaning up session 28a8dc66-b14d-428a-860a-5a425d6e37f3
2024-02-19T14:26:04.834 INF ../../services/wireguard/service/stats_publisher.go:65 > Stopped publishing statistics for session 28a8dc66-b14d-428a-860a-5a425d6e37f3
2024-02-19T14:26:04.864 ??? ../../usr/local/go/src/io/io.go:429            > RTNETLINK answers: No such file or directory
2024-02-19T14:26:04.880 ??? ../../usr/local/go/src/io/io.go:429            > Cannot find device "ifb0"
2024-02-19T14:26:04.910 ??? ../../usr/local/go/src/io/io.go:429            > Cannot find device "ifb0"
2024-02-19T14:26:04.910 INF ../../nat/service_iptables.go:80               > Deleting NAT/Firewall rules
2024-02-19T14:26:04.924 DBG ../../nat/service_iptables.go:229              > "/usr/sbin/iptables -D PREROUTING --source 10.182.0.2/24 --jump MYST --table nat" output:

2024-02-19T14:26:04.938 DBG ../../nat/service_iptables.go:229              > "/usr/sbin/iptables -D MYST --destination 10.182.0.1 --protocol udp --dport 53 --jump REDIRECT --to-ports 11253 --table nat" output:

2024-02-19T14:26:04.955 DBG ../../nat/service_iptables.go:229              > "/usr/sbin/iptables -D MYST --destination 10.182.0.1 --protocol tcp --dport 53 --jump REDIRECT --to-ports 11253 --table nat" output:

2024-02-19T14:26:04.966 DBG ../../nat/service_iptables.go:229              > "/usr/sbin/iptables -D POSTROUTING --source 10.182.0.2/24 ! --destination 10.182.0.2/24 --jump SNAT --to 172.16.3.29 --table nat" output:

2024-02-19T14:26:04.976 DBG ../../nat/service_iptables.go:229              > "/usr/sbin/iptables -D FORWARD --source 10.182.0.2/24 --jump ACCEPT" output:
```shell

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant