1Answer Iptable code for whitelist website in linux 12.7k Views 12 Inês Sá A PHP Error was encountered Severity: Notice Message: Undefined index: userid Filename: views/question.php Line Number: 191 Backtrace: File: /home/prodcxja/public_html/questions/application/views/question.php Line: 191 Function: _error_handler File: /home/prodcxja/public_html/questions/application/controllers/Questions.php Line: 433 Function: view File: /home/prodcxja/public_html/questions/index.php Line: 315 Function: require_once Asked: Aug 17,2020 In: Ubuntu 14.04 1 Answer Inês Sá Punditsdkoslkdosdkoskdo Asked: Aug 17,2020 In: Ubuntu 14.04 Iptable code for whitelist website in linux I need to allow only one website and to block remaining all for that I need iptable coding in Linux OS.kindly let me if any body knows. ubuntu-14.04 Your reply on this question: Add Reply Cancel 2 Antonio Aedo Aug 17,2020 First of all it's iptables and not iptable. Second, iptables is no programming language so there is no code for the end user to use. It is a tool that you can configure. Try to get your terminology right. And last, get your logic straight and don't jump to conclusions as to what tool you need BEFORE having described and investigated the problem. It leads you nowhere, ever.