In Rust, there is no way to make your house completely impenetrable, however, a strong defense can deter players from attempting to raid it. Ample defense can even prove intimidating to potential raiders and can lead them to view a raid attempt as waste of resources.
Where to place your house Edit
You will need to think about this carefully as placement is key. Building your house in the middle of an open valley, or near a monument, may seem convenient but would render your base a key target to be raided. It is recommended building your house in the mountains or an enclosed area that's not too visible from far distances. However, bear in mind that you will need enough space surrounding your home to place defenses.
Never have a Wooden Door on its own as a frontal defense. Wooden doors can be very easily broken down with tools or weapons such as Hatchets and Pickaxes. Always use Sheet Metal or Armored Doors, as they will require 1 or 2 Timed Explosive Charges or a significant amount of Satchel Charges to be destroyed. These doors are great as a frontal defense, although it is recommended to have at least two for a much safer base, as well as having them placed one after another to form an airlock so you cannot be shot and killed with full access to your base right at your door. Armored Doors are the toughest doors you can craft, so it is ideal to use them over other door types as much as possible.
I would also add several 'trick rooms'. These rooms should always have a metal door and should have a pit with a pillar in the middle to prevent raiders from stair-casing out. Even if they don't fall in, they would have wasted two valuable explosive charges. Another idea is to have the staircase hidden door. The basic idea behind a staircase hidden door is to have several metal doors along a hallway and only one with a staircase behind it. If your attackers find the right one then they will run up the staircase and blow through the next door that is up the stairs. However under the stairs there is a doorway with a wooden door (it blends in more) and a metal door behind that leading to the real stairs. This works really well if you have several doors behind the door above the stairs. This is to confuse raiders and have them waste explosive charges.
A trick you can use involving the Ladder Hatch is to make your building three stories tall and have no floor on the second floor. Placing the hatch on the ceiling of the third floor with a chest so you can open and jump on the hatch. This way if the raiders get in and destroy the hatch, they cannot boost in.
Chest Room Edit
As convenient as it seems, it is never practical to have all your loot in one room. Split it up into several rooms, or use the loot room as a major choke point, giving yourself the tactical advantage over raiders that enter the area.
The best walls to build are High External Stone Walls. They have 500 health and will take 2 Timed Explosive Charges to take down. Be advised, however, as these walls have a high decay rate and will fall down if not taken care of consistently.
The many types of barricades provided in Rust are great at defending the outside of your base. Simply place them around your base (only keeping your doorway free of spikes). Players will either have to suffer considerable amounts of material loss trying to break it, and may even have to spend explosive charges or a wasteful amount of rockets. Spiked walls also prevent players from building a staircase next to your base.
Traps are very useful in slowing down, injuring and ultimately killing raiders. There are two major types of traps that are easily obtainable after acquiring a Furnace or Large furnace , the Snap Trap and the Land Mine, which require Metal Fragments and Gun Powder. If properly hidden, these can injure or kill raiders and severely cripple a raid. The other two kinds of traps that are in this category are the Auto Turret and the Wooden Floor Spikes. The auto turret is an automatic machine gun sentry that is best placed inside of a base or enclosed area to kill raiders as they enter. Wooden Floor Spikes are a crude defense that is best hidden in bushes.