| Linode Forum https://forum.linode.com/ |
|
| Private networking web/db ipv6 https://forum.linode.com/viewtopic.php?f=19&t=11239 |
Page 1 of 1 |
| Author: | jgjh151 [ Wed Aug 13, 2014 10:15 pm ] |
| Post subject: | Private networking web/db ipv6 |
Trying to set up separate web and db servers. I have it working on another host and am trying to migrate both to Linode. Where I'm having confusion is how Linode recommends using the public ipv6 address between the two linodes and my iptables rule. On the other host I'm using the private ip4's and have set them both up in the /etc/hosts on each server, example: 192.11.23.111 webapp, 192.11.23.222 dbserver. Then in iptables on the db server, I only allow connections to mysql from webapp. Code: # Allow DB connections So I'm not sure how to edit this rule to allow the ipv6 connection from the webapp. Or I could skip all this and just use the private ip4's linode provides right? |
|
| Author: | jgjh151 [ Thu Aug 14, 2014 8:52 am ] |
| Post subject: | Re: Private networking web/db ipv6 |
Also, instead of eth1 in that rule, it should be eth0 since this is all thats used at Linode? |
|
| Author: | drussell [ Thu Aug 14, 2014 3:52 pm ] |
| Post subject: | Re: Private networking web/db ipv6 |
You'd need to use ip6tables to set up rules for IPv6, if I recall correctly. You are correct, Linodes (by default) use eth0. Thanks, Dave. |
|
| Author: | jgjh151 [ Thu Aug 14, 2014 9:42 pm ] |
| Post subject: | Re: Private networking web/db ipv6 |
I got it all working with ipv4 rules, didn't get into the ipv6 yet. But if there there was an ipv6 version of this page, I would be all set: https://www.linode.com/docs/security/securing-your-server#creating-a-firewall This would be a huge help. |
|
| Author: | hoopycat [ Fri Aug 15, 2014 7:31 am ] |
| Post subject: | Re: Private networking web/db ipv6 |
Replace every instance of "iptables" with "ip6tables" and you have the IPv6 version. |
|
| Author: | drussell [ Sat Aug 16, 2014 1:10 am ] |
| Post subject: | Re: Private networking web/db ipv6 |
jgjh151 wrote: I got it all working with ipv4 rules, didn't get into the ipv6 yet. But if there there was an ipv6 version of this page, I would be all set: https://www.linode.com/docs/security/securing-your-server#creating-a-firewall This would be a huge help. As our Linode Docs are now open to the community, and you may edit them via GitHub by forking the repository and making a pull request, I would highly encourage you to consider making any Linode Doc article (new or updated) you feel would be a good fit for the project |
|
| Page 1 of 1 | All times are UTC-04:00 |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|