Skip to content

add snat gateway support for lvs_v2#10

Open
jlijian3 wants to merge 5 commits intoalibaba:lvs_v2from
jlijian3:lvs_v2
Open

add snat gateway support for lvs_v2#10
jlijian3 wants to merge 5 commits intoalibaba:lvs_v2from
jlijian3:lvs_v2

Conversation

@jlijian3
Copy link
Copy Markdown

Add snat gateway feature like iptales snat,compatible with VS/NAT VS/FULLNAT,you can config them together,like below:
virtual_server 1.1.3.100 80 {
...
}

fwmark 1 only meam it's snat-gateway service,not depend on iptables.

virtual_server fwmark 1 {
snat_rule {
from 192.168.40.0/24 #source address
oif eth1
snat_ip 1.1.2.100-1.1.2.200
algo sdh #sdh sh random
}
}

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Jul 2, 2019

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 2 committers have signed the CLA.

✅ jlijian3
❌ monkeyerKong
You have signed the CLA already but the status is still pending? Let us recheck it.

@CLAassistant
Copy link
Copy Markdown

CLA assistant check
Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 2 committers have signed the CLA.

✅ jlijian3
❌ monkeyerKong
You have signed the CLA already but the status is still pending? Let us recheck it.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants