mirror of https://github.com/apache/cloudstack.git
FIX issue in VR if remote access vpn is enabled (#4430)
Co-authored-by: Rakesh Venkatesh <r.venkatesh@global.leaseweb.com>
This commit is contained in:
parent
46ead2df71
commit
34146569d9
|
|
@ -755,7 +755,7 @@ class CsRemoteAccessVpn(CsDataBag):
|
|||
|
||||
self.fw.append(["", "", "-A INPUT -i ppp+ -m udp -p udp --dport 53 -j ACCEPT"])
|
||||
self.fw.append(["", "", "-A INPUT -i ppp+ -m tcp -p tcp --dport 53 -j ACCEPT"])
|
||||
self.fw.append(["nat", "", "-I PREROUTING -i ppp+ -m tcp --dport 53 -j DNAT --to-destination %s" % local_ip])
|
||||
self.fw.append(["nat", "", "-I PREROUTING -i ppp+ -p tcp -m tcp --dport 53 -j DNAT --to-destination %s" % local_ip])
|
||||
|
||||
if self.config.is_vpc():
|
||||
return
|
||||
|
|
|
|||
Loading…
Reference in New Issue