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

add snat gateway support for lvs_v2 #10

Open
wants to merge 5 commits into
base: lvs_v2
Choose a base branch
from

Conversation

jlijian3
Copy link

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

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.

1 similar comment
@CLAassistant
Copy link

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