Thanks for the quick response.

No, I can't ssh to the guest. The connection to the guest times out.

BTW, will NAT work for me? Am trying to look up some useful literature
on the internet.

Simon.

On Wed, Nov 4, 2009 at 4:55 PM, sanga collins <[email protected]> wrote:
> Are you able to ssh when you turn iptables off?
>
> On Wed, Nov 4, 2009 at 5:12 AM, Simon Peter Muwanga <[email protected]>
> wrote:
>>
>> Dear Comrades,
>>
>> I have set up a firewall + iptables as follows,
>>
>> # iptables -P INPUT ACCEPT
>> # iptables -F
>> # iptables -A INPUT -i lo -j ACCEPT
>> # iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
>> # iptables -A INPUT -p tcp --dport 22 -j ACCEPT
>> # iptables -P INPUT DROP
>> # iptables -P FORWARD DROP
>> # iptables -P OUTPUT ACCEPT
>> # iptables -L -v
>> # /sbin/service iptables save
>>
>> However, I can't ssh into the guest OS.
>>
>> Some info:
>> Host OS is OpenSUSE 10.3
>> Guest OS,(OS in the virtual machine) is CentOS, a virtual appliance
>> from symbiosoft.net
>> Type of vm: virtualbox
>>
>> Any work-around?
>>
>>
>> Simon.
>> _______________________________________________
>> LUG mailing list
>> [email protected]
>> http://kym.net/mailman/listinfo/lug
>> %LUG is generously hosted by INFOCOM http://www.infocom.co.ug/
>>
>> The above comments and data are owned by whoever posted them (including
>> attachments if any). The List's Host is not responsible for them in any way.
>> ---------------------------------------
>>
>
>
> _______________________________________________
> LUG mailing list
> [email protected]
> http://kym.net/mailman/listinfo/lug
> %LUG is generously hosted by INFOCOM http://www.infocom.co.ug/
>
> The above comments and data are owned by whoever posted them (including
> attachments if any). The List's Host is not responsible for them in any way.
> ---------------------------------------
>
>
>
_______________________________________________
LUG mailing list
[email protected]
http://kym.net/mailman/listinfo/lug
%LUG is generously hosted by INFOCOM http://www.infocom.co.ug/

The above comments and data are owned by whoever posted them (including 
attachments if any). The List's Host is not responsible for them in any way.
---------------------------------------

Reply via email to