I have two nodes... on on VPS that have netmaker server (name: netmaker-1) and one in my proxmox cluster (name: net-gw )with external IP... behind it is network 10.55.0.0/16 ...
In netmaker I have two networks: test1-all and test1-proxmox. and this two nodes is in this two networks
test1-all have 10.122.21.0/24
test1-proxmox have 10.166.111.0/24
So only on test1-proxmox I configured netmaker-1 as ingress and net-gw as egress (with 10.55.0.0/16 network)
And I try to connect via Ext. Client.
After setup everything I can ping on net-gw internal IP in 10.55.0.0/16 but nothing elese.... when I tested it via tcpdump I found that is wrong incomint network couse IP is 10.122.21.1
I added two rules to iptables:
iptables -t filter -I netmakerfilter 2 -s 10.122.21.0/24 -d 10.55.0.0/16 -j ACCEPT
iptables -t nat -A POSTROUTING -s 10.122.21.0/24 -o eth0 -j MASQUERADE
What happened?
I have two nodes... on on VPS that have netmaker server (name: netmaker-1) and one in my proxmox cluster (name: net-gw )with external IP... behind it is network 10.55.0.0/16 ... In netmaker I have two networks: test1-all and test1-proxmox. and this two nodes is in this two networks test1-all have 10.122.21.0/24 test1-proxmox have 10.166.111.0/24
So only on test1-proxmox I configured netmaker-1 as ingress and net-gw as egress (with 10.55.0.0/16 network)
And I try to connect via Ext. Client.
After setup everything I can ping on net-gw internal IP in 10.55.0.0/16 but nothing elese.... when I tested it via tcpdump I found that is wrong incomint network couse IP is 10.122.21.1
I added two rules to iptables: iptables -t filter -I netmakerfilter 2 -s 10.122.21.0/24 -d 10.55.0.0/16 -j ACCEPT iptables -t nat -A POSTROUTING -s 10.122.21.0/24 -o eth0 -j MASQUERADE
after this everything start works.
Version
v0.18.7
What OS are you using?
Linux
Relevant log output
No response
Contributing guidelines