Differences
This shows you the differences between two versions of the page.
| — |
topics:proxmox-nat-bridge [2017/03/26 06:40] (current) orzfly created |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Create NAT Bridge in Proxmox ====== | ||
| + | Tested on Proxmox on Debian 8. | ||
| + | |||
| + | - Modify / | ||
| + | auto vmbr1 | ||
| + | iface vmbr1 inet static | ||
| + | address | ||
| + | netmask | ||
| + | bridge_ports none | ||
| + | bridge_stp off | ||
| + | bridge_fd 0 | ||
| + | post-up echo 1 > / | ||
| + | post-up | ||
| + | post-down iptables -t nat -D POSTROUTING -s ' | ||
| + | </ | ||
| + | - Install dnsmasq < | ||
| + | - Modify / | ||
| + | domain-needed | ||
| + | bogus-priv | ||
| + | local=/ | ||
| + | domain=cloud | ||
| + | dhcp-fqdn | ||
| + | interface=vmbr1 | ||
| + | bind-interfaces | ||
| + | dhcp-range=100.64.43.200, | ||
| + | dhcp-option=option: | ||
| + | dhcp-option=option: | ||
| + | </ | ||
| + | - If IPv6 is available, append this snippets< | ||
| + | enable-ra | ||
| + | dhcp-range=2001: | ||
| + | dhcp-option=option6: | ||
| + | </ | ||
| + | - Enable and start dnsmasq< | ||
| + | systemctl enable dnsmasq | ||
| + | systemctl restart dnsmasq | ||
| + | </ | ||
| + | |||
| + | {{tag> | ||