The following rules were working for ipv4 addresses in iptables but using the same rules in ip6tables is not working. Currently all ipv6 addresses are being blocked. This rule set should allow https access from the single ip 2500:1017:b91a:97e5:53e8:7700:b09b:b93
Chain INPUT (policy DROP 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
0 0 ACCEPT tcp any any anywhere anywhere tcp dpt:ssh
0 0 ACCEPT all lo any anywhere anywhere
0 0 ACCEPT all any any anywhere anywhere state RELATED,ESTABLISHED
0 0 DROP tcp any any anywhere anywhere tcp dpt:http
0 0 ACCEPT tcp any any 2500:1017:b91a:97e5:53e8:7700:b09b:b93 anywhere tcp dpt:https
0 0 DROP tcp any any anywhere anywhere tcp dpt:https
Chain FORWARD (policy DROP 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
Chain OUTPUT (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
Edit:
I have been playing around with this and iptables -A INPUT -p tcp --dport 443 -j DROP in iptables is also affecting IP6 connections, from what I have read I thought iptables would only affect IP4 connections.